Browse Source

Fix duplicitní menu

export_seznamu_prednasek
Pavel 'LEdoian' Turinsky 5 years ago
parent
commit
3952b4198a
  1. 20
      mamweb/templates/base.html

20
mamweb/templates/base.html

@ -96,26 +96,6 @@
<div class='row content'> <div class='row content'>
{% sitetree_menu from "main_menu" include "trunk" %}
{#
{% for item in menu_top %}
<li class="{% if item.selected %} active {% endif %}">
<a href="{{ item.url }}"> <i class="{{ item.icon_class }}"></i> {{ item.name }}</a>
</li>
{% if item.submenu %}
<ul>
{% for menu in item.submenu %}
<li class="{% if menu.selected %} active {% endif %}">
<a href="{{ menu.url }}">{{ menu.name }}</a>
</li>
{% endfor %}
</ul>
{% endif %}
{% endfor %}
#}
<div class='col-md-12'> <div class='col-md-12'>
{% block content %} {% block content %}
{% endblock content %} {% endblock content %}

Loading…
Cancel
Save