added menu icons

This commit is contained in:
Arthur Gerbaud
2016-08-14 01:11:11 +02:00
parent 21ccaeb476
commit 219b68302e
3 changed files with 13 additions and 7 deletions

View File

@@ -13,7 +13,7 @@
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav">{% for app in apps %}
<li {% if app == active_app %} class="active" {%endif%}>
<a href="/{{app.label}}/"><strong>{{ app.name|title }}</strong></a>
<a href="/{{app.label}}/">{% bootstrap_icon app.menu_icon %} &middot; <strong>{{ app.name|title }}</strong></a>
</li>
{% if app == active_app %}{% for t in app_menu %}{% include t %}{% endfor %}{% endif %}
{%endfor%}