This repository has been archived on 2024-06-26. You can view files and clone it, but cannot push or open issues or pull requests.
sakura/templates/yuuno/elements/settingsNav.twig

14 lines
454 B
Twig
Raw Normal View History

2015-05-11 22:20:19 +00:00
<div class="head">
Navigation
</div>
<div class="right-menu-nav">
2015-08-23 22:08:36 +00:00
{% for catname,category in pages %}
<div>{{ category.title }}</div>
{% for mname,mode in category.modes %}
{% if mode.access and mode.menu %}
<a href="{{ urls.format(templates == 'settings' ? 'SETTING_MODE' : 'MANAGE_MODE', [catname, mname]) }}">{{ mode.title }}</a>
2015-08-23 22:08:36 +00:00
{% endif %}
{% endfor %}
{% endfor %}
2015-05-11 22:20:19 +00:00
</div>