feat: added data based dynamic wishlist
This commit is contained in:
parent
b89d3e1d2d
commit
df2e9c2abd
|
@ -10,3 +10,4 @@
|
|||
}
|
||||
]
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
"high": [
|
||||
{
|
||||
"tag": "Teezubereiter",
|
||||
"name": "Dürkop Tea Timer Berlin",
|
||||
"url": "https://www.newstartcenter.de/info/teatimer.htm",
|
||||
"comment": ""
|
||||
}
|
||||
],
|
||||
"medium": [
|
||||
{
|
||||
"tag": "Buch",
|
||||
"name": "The Personal MBA",
|
||||
"url": "https://personalmba.com/",
|
||||
"comment": "(Bitte Taschenbuch statt gebundene Ausgabe)"
|
||||
}
|
||||
],
|
||||
"low": [
|
||||
{
|
||||
"tag": "Buch",
|
||||
"name": "The Art of Happiness",
|
||||
"url": "https://en.wikipedia.org/wiki/The_Art_of_Happiness",
|
||||
"comment": "(Bitte Taschenbuch statt gebundene Ausgabe)"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -53,30 +53,41 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
|||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<!--
|
||||
-->
|
||||
<tr class="table-warning">
|
||||
<tr class="table-info">
|
||||
{% for item in wishlist.high %}
|
||||
<td>
|
||||
<a href="https://personalmba.com/" target="_blank">
|
||||
The Personal MBA
|
||||
</a>(Bitte Taschenbuch statt gebundene Ausgabe)
|
||||
{{ item.tag }}
|
||||
<a href="{{ item.url }}"
|
||||
target="_blank">
|
||||
{{ item.name }}
|
||||
</a>
|
||||
{{ item.comment }}
|
||||
</td>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
<tr class="table-warning">
|
||||
{% for item in wishlist.medium %}
|
||||
<td>
|
||||
{{ item.tag }}
|
||||
<a href="{{ item.url }}"
|
||||
target="_blank">
|
||||
{{ item.name }}
|
||||
</a>
|
||||
{{ item.comment }}
|
||||
</td>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
<tr class="table-danger">
|
||||
{% for item in wishlist.low %}
|
||||
<td>
|
||||
<a href="https://en.wikipedia.org/wiki/The_Art_of_Happiness"
|
||||
{{ item.tag }}
|
||||
<a href="{{ item.url }}"
|
||||
target="_blank">
|
||||
The Art of Happiness
|
||||
</a>(Bitte Taschenbuch statt gebundene Ausgabe)
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="table-info">
|
||||
<td>
|
||||
<a href="https://www.newstartcenter.de/info/teatimer.htm"
|
||||
target="_blank">
|
||||
Dürkop Tea Timer Berlin Teezubereiter
|
||||
{{ item.name }}
|
||||
</a>
|
||||
{{ item.comment }}
|
||||
</td>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
Loading…
Reference in New Issue