www-bocal/mainsite/templates/sidebar.html
2017-09-22 19:03:43 +02:00

25 lines
691 B
HTML

<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>
<ul class="nav nav-sidebar">
{% if has_special_publications %}
<li><a href="{% url "special_publications" %}">Numéros spéciaux</a></li>
{% endif %}
{% for pubyear in publication_years %}
<li><a href="{{ pubyear.url }}">{{ pubyear.prettyName }}</a></li>
{% endfor %}
</ul>
</div>