Improve location view
This commit is contained in:
parent
04fb06d187
commit
91e76c2b45
1 changed files with 4 additions and 3 deletions
|
@ -26,13 +26,14 @@
|
||||||
<h3 id="order-title">Products</h3>
|
<h3 id="order-title">Products</h3>
|
||||||
<table class="table table-hover table-condensed">
|
<table class="table table-hover table-condensed">
|
||||||
<thead>
|
<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>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for dish in location.dishes -%}
|
{% for dish in location.dishes -%}
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ dish.name }}{% if dish.description %} <span class="description">({{dish.description}})</span>{% endif %}</td>
|
<td>{{ dish.name or dish.id }}</td>
|
||||||
<td>{{ dish.price|euro }}<td>
|
<td>{{ dish.description or "" }}</td>
|
||||||
|
<td style="white-space: nowrap;">{{ dish.price|euro }}<td>
|
||||||
</tr>
|
</tr>
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
Loading…
Reference in a new issue