Browse Source

Podbarvovani menu ve flatpages

remotes/origin/cislopdf
Bc. Petr Pecha 9 years ago
parent
commit
92fad5e1f0
  1. 9
      mamweb/templates/flatpages/default.html

9
mamweb/templates/flatpages/default.html

@ -14,6 +14,7 @@
</div>
{% endblock content %}
{# nahraj spravne submenu #}
{% block submenu %}
{% if "/co-je-MaM/" in flatpage.url %}
{% include "seminar/cojemam/submenu.html" %}
@ -32,3 +33,11 @@
{% endif %}
{% endblock %}
{# zvirazneni menu #}
{% block menu_uvod %}{% if "/co-je-MaM/" in flatpage.url %}selected{% endif %}{% endblock %}
{% block menu_soustredeni %}{% if "/soustredeni/" in flatpage.url %}selected{% endif %}{% endblock %}
{% block menu_zadani %}{% if "/zadani/" in flatpage.url %}selected{% endif %}{% endblock %}
{% block menu_clanky %}{% if "/clanky/" in flatpage.url %}selected{% endif %}{% endblock %}
{% block menu_archiv %}{% if "/archiv/" in flatpage.url %}selected{% endif %}{% endblock %}
{# TODO zvirazneni submenu #}

Loading…
Cancel
Save