www-bocal/mainsite/templates/sidebar.html

29 lines
727 B
HTML
Raw Normal View History

<div id="sidebar" class="col-sm-3 col-md-2 sidebar collapse">
<ul class="nav nav-sidebar">
<li>
<a href="{% url "homepage" %}">
<i class="fa fa-home" aria-hidden="true"></i> Accueil
</a>
</li>
<li>
<a href="{% url "write_article" %}">
<i class="fa fa-pencil" aria-hidden="true"></i> Écrire un article
</a>
</li>
</ul>
{% if has_special_publications %}
<ul class="nav nav-sidebar">
<li><a href="{% url "special_publications" %}">Numéros spéciaux</a></li>
</ul>
{% endif %}
<ul class="nav nav-sidebar">
{% for pubyear in publication_years %}
<li><a href="{{ pubyear.url }}">{{ pubyear.prettyName }}</a></li>
{% endfor %}
</ul>
</div>