Separate cleanly special publications in side bar

This commit is contained in:
Théophile Bastian 2017-09-23 16:34:47 +02:00
parent 6935179748
commit c9b1ccc5c9

View file

@ -13,11 +13,14 @@
</li> </li>
</ul> </ul>
<ul class="nav nav-sidebar">
{% if has_special_publications %} {% if has_special_publications %}
<ul class="nav nav-sidebar">
<li><a href="{% url "special_publications" %}">Numéros spéciaux</a></li> <li><a href="{% url "special_publications" %}">Numéros spéciaux</a></li>
</ul>
{% endif %} {% endif %}
<ul class="nav nav-sidebar">
{% for pubyear in publication_years %} {% for pubyear in publication_years %}
<li><a href="{{ pubyear.url }}">{{ pubyear.prettyName }}</a></li> <li><a href="{{ pubyear.url }}">{{ pubyear.prettyName }}</a></li>
{% endfor %} {% endfor %}