Improve location view

This commit is contained in:
Midgard 2020-02-18 19:33:52 +01:00
parent 04fb06d187
commit 91e76c2b45
Signed by: midgard
GPG key ID: 511C112F1331BBB4

View file

@ -26,13 +26,14 @@
<h3 id="order-title">Products</h3>
<table class="table table-hover table-condensed">
<thead>
<tr><th>Name</th><th>Price</th></tr>
<tr><th style="min-width: 20%">Name</th><th>Description</th><th>Price</th></tr>
</thead>
<tbody>
{% for dish in location.dishes -%}
<tr>
<td>{{ dish.name }}{% if dish.description %} <span class="description">({{dish.description}})</span>{% endif %}</td>
<td>{{ dish.price|euro }}<td>
<td>{{ dish.name or dish.id }}</td>
<td>{{ dish.description or "" }}</td>
<td style="white-space: nowrap;">{{ dish.price|euro }}<td>
</tr>
{%- endfor %}
</tbody>