mirror of https://github.com/interlegis/sigi.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
627 B
24 lines
627 B
9 years ago
|
{% load i18n %}
|
||
|
|
||
|
{% if menu %}
|
||
|
<ul class="nav nav-pills navbar-right">
|
||
|
|
||
|
{% for item in menu %}
|
||
|
{% if item.children %}
|
||
|
<li class="dropdown">
|
||
|
<a class="dropdown-toggle" data-toggle="dropdown" href="#fakeLink">
|
||
|
{% trans item.title %}
|
||
|
<span class="fa-chevron-down fa"></span>
|
||
|
</a>
|
||
|
<ul class="dropdown-menu" role="menu">{% for subitem in item.children %}
|
||
|
<li><a href="{{ subitem.url }}">{% trans subitem.title %}</a></li>{% endfor %}
|
||
|
</ul>
|
||
|
</li>
|
||
|
{% else %}
|
||
|
<li><a href="{{ item.url }}">{% trans item.title %}</a></li>
|
||
|
{% endif %}
|
||
|
{% endfor %}
|
||
|
|
||
|
</ul>
|
||
|
{% endif %}
|