version résumée du texte

This commit is contained in:
Jean-Marie Favreau 2023-11-11 22:52:52 +01:00
parent 7587c7605b
commit a6137e745a

View File

@ -19,5 +19,5 @@
{% endfor %}
</p>
<div class="description">
{% if event.description_hl %}{{ event.description_hl | safe }}{% else %}{% if event.description %}{{ event.description }}{% else %}<em>pas de description</em>{% endif %}{% endif %}
{% if event.description_hl %}{{ event.description_hl | safe }}{% else %}{% if event.description %}{{ event.description |truncatewords:60 }}{% else %}<em>pas de description</em>{% endif %}{% endif %}
</div>