Ajout d'un lien vers la page des imports

This commit is contained in:
Jean-Marie Favreau 2024-11-11 19:06:06 +01:00
parent 1dead2a695
commit 3cd6dd8682

View File

@ -8,7 +8,8 @@
{% include "agenda_culturel/static_content.html" with name=static_content url_path=url_path %}
<ul>
{% for rimport in rimports %}
<li><a href="{{ rimport.browsable_url }}">{{ rimport.name }}</a> ({{ rimport.nb_events }} événements importés)</li>
<li><a href="{{ rimport.browsable_url }}">{{ rimport.name }}</a>
{% if user.is_authenticated %}({{ rimport.nb_events }} événements <a href="{{ rimport.get_absolute_url }}">importés</a>){% else %}({{ rimport.nb_events }} événements importés){{% endif %}</li>
{% endfor %}
</ul>
</article>