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,10 +13,13 @@
</li> </li>
</ul> </ul>
{% if has_special_publications %}
<ul class="nav nav-sidebar"> <ul class="nav nav-sidebar">
{% if has_special_publications %}
<li><a href="{% url "special_publications" %}">Numéros spéciaux</a></li> <li><a href="{% url "special_publications" %}">Numéros spéciaux</a></li>
{% endif %} </ul>
{% 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>