www-bocal/mainsite/templates/sidebar.html

22 lines
557 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>
<ul class="nav nav-sidebar">
{% for pubyear in publication_years %}
<li><a href="{{ pubyear.url }}">{{ pubyear.prettyName }}</a></li>
{% endfor %}
</ul>
</div>