Ajout des liens

This commit is contained in:
Jean-Marie Favreau 2023-11-05 10:19:29 +01:00
parent 8e1d7311a3
commit 66559f4549
3 changed files with 17 additions and 2 deletions

View File

@ -92,7 +92,7 @@ body>nav {
}
ul {
margin-left: 0.5em;
margin-left: 1em;
}
span.small-cat {

View File

@ -66,6 +66,21 @@
<a href="{% url 'view_tag' tag %}" role="button" class="small-cat">{{ tag }}</a>
{% endfor %}
</p>
{% if event.reference_urls %}
{% if display in "in list by day" %}
<p>Source{{ event.reference_urls|pluralize }}&nbsp;:
{% else %}
<p>Cet événement est proposé par&nbsp;:
{% endif %}
{% for eurl in event.reference_urls %}
<a href="{{ eurl }}">{{ eurl }}</a>{% if not forloop.last %}, {% endif %}
{% endfor %}
</p>
{% else %}
<p><em>Cet événement est disponible uniquement sur les nuits énimagmatiques.</em></p>
{% endif %}
</footer>
</article>

View File

@ -2,7 +2,7 @@
{% block title %}{{ object.title }}{% endblock %}
{% load cat_extra %}
{% block entete_header %}
{% css_categories %}
{% endblock %}