Ajout d'un lien vers la page des imports
This commit is contained in:
parent
1dead2a695
commit
3cd6dd8682
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user