mirror of
https://github.com/almet/copanier.git
synced 2025-04-28 11:32:38 +02:00
Add the description under the products.
This commit is contained in:
parent
a4865563fa
commit
2a357715c5
2 changed files with 9 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue