Oprava mobilního meníčka na nový bootstrap (ještě jsem zapomněl jednu věc)

This commit is contained in:
Jonas Havelka 2024-02-14 17:00:06 +01:00
parent a1fa654bec
commit d469019c44

View file

@ -4,7 +4,7 @@
<ul class="navbar-nav menu_mobile"> <ul class="navbar-nav 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 %}">
<a href="{% if item.has_children %}#{% else %}{% sitetree_url for item %}{% endif %}" {% if item.has_children %}class="dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false"{% endif %}> <a href="{% if item.has_children %}#{% else %}{% sitetree_url for item %}{% endif %}" {% if item.has_children %}class="dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false" data-bs-display="static"{% endif %}>
{% if item.title == "HIDDEN" %}Korektury{% else %}{{ item.title_resolved }}{% endif %} {% if item.title == "HIDDEN" %}Korektury{% else %}{{ item.title_resolved }}{% endif %}
</a> </a>
<div class="dropdown-menu submenu_mobile {% if item.is_current or item.in_current_branch %}active{% endif %}"> <div class="dropdown-menu submenu_mobile {% if item.is_current or item.in_current_branch %}active{% endif %}">