www-bocal/mainsite/templates/sidebar.html
2017-09-22 15:15:05 +02:00

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