Add the description under the products.

This commit is contained in:
Daniel Atwood 2020-06-07 18:57:21 +02:00
parent 1b5e07c897
commit e26c0b9b46
2 changed files with 9 additions and 2 deletions

View file

@ -379,6 +379,8 @@ article.order {
table.order th.product {
min-width: 10rem;
width: inherit;
max-width: 25em;
overflow: hidden;
}
td.with-input {
padding: 0;
@ -694,4 +696,8 @@ ul.actions > li {
.fixed-table td, .fixed-table th{
white-space:pre-wrap;
}
}
small {
font-size: 70% !important;
}

View file

@ -36,7 +36,8 @@
{% if not product.rupture %}
<tr>
<th class="product {% if product.rupture %}rupture{% endif %}">{{ product }} {% if product.rupture %}(RUPTURE !){% endif %}
{% if product.description or product.img %}
{% if product.description %}
<br /><small title="{{ product.description }}">{{ product.description }}</small>
{% endif %}
</th>
<td>{{ product.price | round(2) }} €</td>