You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.4 KiB
46 lines
1.4 KiB
{% extends "base.html" %}
|
|
|
|
{% block "content" %}
|
|
{% if allMostDrinks or allMostSnacks %}
|
|
<table style="border: 0 none; width:100%">
|
|
<thead>
|
|
<tr>
|
|
<td role="presentation"> </td>
|
|
<th scope="column">Die beliebtesten Artikel</th>
|
|
<th scope="column">Deine Lieblingsartikel</td>
|
|
<th scope="column">Zuletzt hattest du</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<th scope="row">Getränke</th>
|
|
<td style="vertical-align:top">
|
|
{% include "main/product_list.html" with buyables=allMostDrinks %}
|
|
</td>
|
|
<td style="vertical-align:top">
|
|
{% include "main/product_list.html" with buyables=usersMostDrinks %}
|
|
</td>
|
|
<td style="vertical-align:top">
|
|
{% include "main/product_list.html" with buyables=usersLastDrinks %}
|
|
</td>
|
|
</tr>
|
|
<tr style="border-top: 2px solid #ECECEC">
|
|
<th scope="row">Snacks</th>
|
|
<td style="vertical-align.top">
|
|
{% include "main/product_list.html" with buyables=allMostSnacks %}
|
|
</td>
|
|
<td style="vertical-align:top">
|
|
{% include "main/product_list.html" with buyables=usersMostSnacks %}
|
|
</td>
|
|
<td style="vertical-align:top">
|
|
{% include "main/product_list.html" with buyables=usersLastSnacks %}
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
{% else %}
|
|
{{ error }}
|
|
Es hat scheinbar noch niemand etwas gekauft. <a href="/store/">Sei der Erste!</a>
|
|
{% endif %}
|
|
{% endblock %}
|