{% load cat_extra %}
{% comment %} Le début contient les informations principales: titre, date {% endcomment %} {% if display in "in list by day" %} {% if display == "in list" %}

{% else %}

{% endif %} {% if not event.end_day and event.start_time %}{{ event.start_time }}{% endif %} {{ event.title }} {% if display == "in list" %}

{% else %}{% endif %} {% if event.end_day %}

Cet événement dure du {{ event.start_day |date:"l j F" }} au {{ event.end_day |date:"l j F" }}

{% endif %} {% else %}

{{ event.title }}

{% endif %} {% comment %} On affiche le corps du message avec plus ou moins de longueur {% endcomment %} {% if display in "in list by day" %}

{{ event.description |truncatewords:20 }}

{% else %}

{{ event.description }}

{% endif %} {% comment %} On affiche le pied qui contient les informations de tags, catégories, etc {% endcomment %}