Fix: na mobilu není menu korektur

This commit is contained in:
Jonas Havelka 2022-11-07 22:05:44 +01:00
parent f12c4ccb7a
commit 32768aab10

View file

@ -3,11 +3,9 @@
{% autoescape off %} {% autoescape off %}
<ul class="menu_mobile"> <ul class="menu_mobile">
{% for item in sitetree_items %} {% for item in sitetree_items %}
<li class="{% if item.has_children %}dropdown{% endif %} {% if item.is_current or item.in_current_branch %}active{% endif %}" <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 %}> <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 }} {% if item.title == "HIDDEN" %}Korektury{% else %}{{ item.title_resolved }}{% endif %}
</a> </a>
<div class="submenu_mobile {% if item.is_current or item.in_current_branch %}active{% endif %}"> <div class="submenu_mobile {% if item.is_current or item.in_current_branch %}active{% endif %}">
{% if item.has_children %} {% if item.has_children %}