diff --git a/mamweb/templates/flatpages/default.html b/mamweb/templates/flatpages/default.html index 47060987..d7c9aab9 100644 --- a/mamweb/templates/flatpages/default.html +++ b/mamweb/templates/flatpages/default.html @@ -14,6 +14,7 @@ {% 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 #}