diff options
| author | Étienne Loks <etienne.loks@peacefrogs.net> | 2012-10-19 18:47:29 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2012-10-19 18:47:29 +0200 |
| commit | f10cf8046b5586e8b131aea95fc2c746b69f6cde (patch) | |
| tree | bee304be3b1e17344d02611802b3a0da0aa5d000 /ishtar_common/templates/base.html | |
| parent | f87d2a616faf06258b1f9fe10fee3078942319ed (diff) | |
| download | Ishtar-f10cf8046b5586e8b131aea95fc2c746b69f6cde.tar.bz2 Ishtar-f10cf8046b5586e8b131aea95fc2c746b69f6cde.zip | |
Layout improvment
Diffstat (limited to 'ishtar_common/templates/base.html')
| -rw-r--r-- | ishtar_common/templates/base.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ishtar_common/templates/base.html b/ishtar_common/templates/base.html index 630fe666e..bfc78b166 100644 --- a/ishtar_common/templates/base.html +++ b/ishtar_common/templates/base.html @@ -60,13 +60,13 @@ <div id="main_menu"> <ul> {% for section in MENU.childs %} - {% if section.available %}<li>{{section.label}} + {% if section.available %}<li id='section-{{forloop.counter}}'>{{section.label}} <ul> {% for menu_item in section.childs %}{%if menu_item.available%} - {% if menu_item.childs %}<li>{{menu_item.label}} + {% if menu_item.childs %}<li id='section-{{forloop.parentloop.counter}}-{{forloop.counter}}'>{{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> + <li id='section-{{forloop.parentloop.parentloop.counter}}-{{forloop.parentloop.counter}}-{{forloop.counter}}'{%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> |
