Suppression de l’affichage de ‘+ d’infos’

This commit is contained in:
Gwenael-F 2022-09-27 09:02:14 +02:00 committed by GitHub
parent 78c501da98
commit 6e713ca1bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,9 +36,7 @@
{% if not product.rupture %} {% if not product.rupture %}
<tr> <tr>
<th class="product {% if product.rupture %}rupture{% endif %}"><div {% if product.description %}title="{{ product.description }}"{% endif %}>{{ product }} {% if product.rupture %}(RUPTURE !){% endif %}</div> <th class="product {% if product.rupture %}rupture{% endif %}"><div {% if product.description %}title="{{ product.description }}"{% endif %}>{{ product }} {% if product.rupture %}(RUPTURE !){% endif %}</div>
{% if product.description and product.description | length > 30 %} {% if product.description %}
<small title="{{ product.description }}">+ d'infos…</small>
{% else %}
<small title="{{ product.description }}">{{ product.description }}</small> <small title="{{ product.description }}">{{ product.description }}</small>
{% endif %} {% endif %}
</th> </th>