Browse Source

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

static-files-upgrade
Jonas Havelka 3 months ago
parent
commit
d469019c44
  1. 2
      mamweb/templates/menu_mobile.html

2
mamweb/templates/menu_mobile.html

@ -4,7 +4,7 @@
<ul class="navbar-nav 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 %}">
<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 %}
</a>
<div class="dropdown-menu submenu_mobile {% if item.is_current or item.in_current_branch %}active{% endif %}">

Loading…
Cancel
Save