{% extends "agenda_culturel/page.html" %} {% load cat_extra %} {% load utils_extra %} {% load event_extra %} {% load cache %} {% block title %}{% block og_title %}{{ event.title }}{% endblock %}{% endblock %} {% block og_image %}{% if event.has_image_url %}{{ event|get_image_uri:request }}{% else %}{{ block.super }}{% endif %}{% endblock %} {% block og_description %}{% if event.description %}{{ event.description |truncatewords:20|linebreaks }}{% else %}{{ block.super }}{% endif %}{% endblock %} {% block entete_header %} {% css_categories %} {% endblock %} {% block content %}
{% with cache_timeout=user.is_authenticated|yesno:"30,600" %} {% cache cache_timeout event_body user.is_authenticated event %} {% include "agenda_culturel/single-event/event-single-inc.html" with event=event filter=filter %} {% endcache %} {% endwith %} {% if user.is_authenticated %}

Chronologie

{% for step in event.chronology %} {% if step.is_date %} {% else %}
{{ step.timestamp }}
Message{% if not step.data.closed %} (ouvert){% endif %}{% if step.data.related_event and event != step.data.related_event %} sur une autre version{% endif %} : {{ step.data.subject|truncatechars:20 }} {% if step.data.user %} par {{ step.data.user }}{% else %}{% if step.data.name %} par {% if step.data.name %}{{ step.data.name }}{% if step.data.email %} ({{ step.data.email }}){% endif %}{% else %} {{ step.data.email }}{% endif %}{% endif %}{% endif %}
{{ step.data.message|safe }}
{% if step.data.comments %}
Commentaire : {{ step.data.comments }}
{% endif %}
{% endif %} {% endfor %}
{% csrf_token %} {{ form.media }} {{ form.as_p }}
{% include "agenda_culturel/event-info-inc.html" with allbutdates=1 %}
{% endif %}
{% with cache_timeout=user.is_authenticated|yesno:"30,600" %} {% cache cache_timeout event_aside user.is_authenticated event %} {% endcache %} {% endwith %}
{% endblock %}