Web M&M
https://mam.matfyz.cz
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
941 B
21 lines
941 B
{% load sitetree %}
|
|
{% spaceless %}
|
|
{% autoescape off %}
|
|
<ul class="menu_mobile">
|
|
{% for item in sitetree_items %}
|
|
<li class="{% if item.has_children %}dropdown{% endif %} {% if item.is_current or item.in_current_branch %}active{% endif %}"
|
|
style="{% if item.title == "HIDDEN" %}display:none{% endif %}"
|
|
>
|
|
<a href="{% if item.has_children %}#{% else %}{% sitetree_url for item %}{% endif %}" {% if item.has_children %}class="dropdown-toggle" data-toggle="dropdown"{% endif %}>
|
|
{{ item.title_resolved }}
|
|
</a>
|
|
<div class="submenu_mobile {% if item.is_current or item.in_current_branch %}active{% endif %}">
|
|
{% if item.has_children %}
|
|
{% sitetree_children of item for menu template "menu_mobile_dropdown.html" %}
|
|
{% endif %}
|
|
</div>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endautoescape %}
|
|
{% endspaceless %}
|
|
|