The "About" menu has been renamed to "System". The "Tools" and "Setup" sub menus, were moved from the "Profile" menu to the "System" menu. The "Profile" menu has been renamed to "User". Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
38 lines
1.1 KiB
HTML
38 lines
1.1 KiB
HTML
{% load common_tags %}
|
|
{% load navigation_tags %}
|
|
|
|
{% if link|get_type == "<class 'navigation.classes.Menu'>" %}
|
|
<li class="dropdown">
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="true">
|
|
{% if link.icon %}
|
|
<i class="hidden-xs hidden-sm hidden-md {{ link.icon }}"></i>
|
|
{% endif %}
|
|
|
|
{{ link.label }}
|
|
<span class="caret"></span>
|
|
</a>
|
|
<ul class="dropdown-menu">
|
|
{% get_menu_links link.name as menu_links %}
|
|
{% for linkset in menu_links %}
|
|
{% with '' as li_class_active %}
|
|
{% with linkset as object_navigation_links %}
|
|
{% include 'navigation/generic_navigation.html' %}
|
|
{% endwith %}
|
|
{% endwith %}
|
|
{% endfor %}
|
|
</ul>
|
|
</li>
|
|
{% else %}
|
|
|
|
{% if as_li %}
|
|
<li class="{% if link.active and li_class_active %}{{ li_class_active }}{% endif %}">
|
|
{% endif %}
|
|
|
|
{% include link_template|default:'navigation/generic_link_instance.html' %}
|
|
|
|
{% if as_li %}
|
|
</li>
|
|
{% endif %}
|
|
|
|
{% endif %}
|