summaryrefslogtreecommitdiff
path: root/ishtar/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar/templates/base.html')
-rw-r--r--ishtar/templates/base.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/ishtar/templates/base.html b/ishtar/templates/base.html
index 4d9502d39..e7570e6c3 100644
--- a/ishtar/templates/base.html
+++ b/ishtar/templates/base.html
@@ -62,8 +62,14 @@
{% if section.available %}<li>{{section.label}}
<ul>
{% for menu_item in section.childs %}{%if menu_item.available%}
+ {% if menu_item.childs %}<li>{{menu_item.label}}
+ <ul>
+ {% for menu_subitem in menu_item.childs %}{%if menu_subitem.available%}
+ <li{%ifequal menu_subitem.idx CURRENT_ACTION%} class='selected'{%endifequal%}><a href='{% url action menu_subitem.idx%}'>{{menu_subitem.label}}</a></li>
+ {%endif%}{% endfor %}</ul></li>
+ {%else%}
<li{%ifequal menu_item.idx CURRENT_ACTION%} class='selected'{%endifequal%}><a href='{% url action menu_item.idx%}'>{{menu_item.label}}</a></li>
- {%endif%}{% endfor %}
+ {%endif%}{% endif %}{% endfor %}
</ul>
</li>{%endif%}
{% endfor %}