mirror of
https://github.com/almet/copanier.git
synced 2025-04-28 19:42:37 +02:00
Add the description under the products.
This commit is contained in:
parent
1b5e07c897
commit
e26c0b9b46
2 changed files with 9 additions and 2 deletions
|
@ -379,6 +379,8 @@ article.order {
|
||||||
table.order th.product {
|
table.order th.product {
|
||||||
min-width: 10rem;
|
min-width: 10rem;
|
||||||
width: inherit;
|
width: inherit;
|
||||||
|
max-width: 25em;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
td.with-input {
|
td.with-input {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
@ -694,4 +696,8 @@ ul.actions > li {
|
||||||
|
|
||||||
.fixed-table td, .fixed-table th{
|
.fixed-table td, .fixed-table th{
|
||||||
white-space:pre-wrap;
|
white-space:pre-wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
small {
|
||||||
|
font-size: 70% !important;
|
||||||
|
}
|
||||||
|
|
|
@ -36,7 +36,8 @@
|
||||||
{% if not product.rupture %}
|
{% if not product.rupture %}
|
||||||
<tr>
|
<tr>
|
||||||
<th class="product {% if product.rupture %}rupture{% endif %}">{{ product }} {% if product.rupture %}(RUPTURE !){% endif %}
|
<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 %}
|
{% endif %}
|
||||||
</th>
|
</th>
|
||||||
<td>{{ product.price | round(2) }} €</td>
|
<td>{{ product.price | round(2) }} €</td>
|
||||||
|
|
Loading…
Reference in a new issue