diff --git a/src/agenda_culturel/templates/agenda_culturel/single-event/event-single-inc.html b/src/agenda_culturel/templates/agenda_culturel/single-event/event-single-inc.html index c2f30bc..783c86a 100644 --- a/src/agenda_culturel/templates/agenda_culturel/single-event/event-single-inc.html +++ b/src/agenda_culturel/templates/agenda_culturel/single-event/event-single-inc.html @@ -21,22 +21,23 @@ {% if user.is_authenticated %} {% if event.other_versions %} - {% with poss_dup=event.get_other_not_trash_versions %} + {% with poss_dup=event.get_other_versions %} {% if poss_dup|length > 0 %}

{% if event.other_versions.representative %} - cet événement existe en plusieurs versions, + Cet événement existe en plusieurs versions, {% if event.masked %} vous pouvez consulter la version mise en avant {% else %} - et vous consultez la version mise en avant + et vous consultez la version mise en avant. {% endif %} {% else %} - cet événement existe probablement en plusieurs versions + cet événement existe probablement en plusieurs versions. {% endif %} -

+

{% endif %} {% endwith %} + {% if event.get_other_not_trash_versions|length == 0 %}

Aucune autre version n'est accessible publiquement

{% endif %} {% endif %} {% else %} {% if event.other_versions.representative and event.masked %}