simplification de l'affichage

Fix #181
This commit is contained in:
Jean-Marie Favreau 2024-10-30 14:07:17 +01:00
parent 9c0e895c16
commit b80f1c038f

View File

@ -19,6 +19,8 @@
{% include "agenda_culturel/event-location-inc.html" with event=event %}
</p>
{% if event.possibly_duplicated %}
{% with poss_dup=event.get_possibly_duplicated|only_allowed:user.is_authenticated %}
{% if poss_dup.count > 0 %}
<p class="remarque">
{% if event.possibly_duplicated.fixed %}
cet événement a été {% if user.is_authenticated %}<a href="{{ event.possibly_duplicated.get_absolute_url }}">importé plusieurs fois</a>{% else %}importé plusieurs fois{% endif %},
@ -32,6 +34,8 @@
{% endif %}
</p>
{% endif %}
{% endwith %}
{% endif %}
</header>
{% if event.has_image_url %}