diff options
| author | Étienne Loks <etienne.loks@peacefrogs.net> | 2010-12-28 15:27:28 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2010-12-28 15:27:28 +0100 |
| commit | 804e72c38252ef75e0895413363c6a5126da3fb2 (patch) | |
| tree | 522b6bdf54041920d71e5b93452cfe659450663b /ishtar/templates/base.html | |
| parent | f4e5d1af9a1bcb016f92ffc63a8df8bc3641449d (diff) | |
| download | Ishtar-804e72c38252ef75e0895413363c6a5126da3fb2.tar.bz2 Ishtar-804e72c38252ef75e0895413363c6a5126da3fb2.zip | |
Correction on Access Control - Better management of URLs (refs #49)
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> |
