diff options
Diffstat (limited to 'ishtar/templates/base.html')
| -rw-r--r-- | ishtar/templates/base.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ishtar/templates/base.html b/ishtar/templates/base.html index 1433d932d..b25d683e4 100644 --- a/ishtar/templates/base.html +++ b/ishtar/templates/base.html @@ -33,13 +33,13 @@ <div id="main_menu"> <ul> {% for section in MENU.childs %} - <li>{{section.label}} + {% if section.available %}<li>{{section.label}} <ul> - {% for menu_item in section.childs %} + {% for menu_item in section.childs %}{%if menu_item.available%} <li{%ifequal menu_item.idx current_action%} class='selected'{%endifequal%}><a href='{% url action menu_item.idx%}'>{{menu_item.label}}</a></li> - {% endfor %} + {%endif%}{% endfor %} </ul> - </li> + </li>{%endif%} {% endfor %} </ul> </div> |
