diff --git a/mamweb/templates/base.html b/mamweb/templates/base.html index c7c6dd1a..e930820c 100644 --- a/mamweb/templates/base.html +++ b/mamweb/templates/base.html @@ -59,12 +59,12 @@ diff --git a/mamweb/templates/flatpages/default.html b/mamweb/templates/flatpages/default.html index d7c9aab9..05ca082d 100644 --- a/mamweb/templates/flatpages/default.html +++ b/mamweb/templates/flatpages/default.html @@ -17,7 +17,21 @@ {# nahraj spravne submenu #} {% block submenu %} {% if "/co-je-MaM/" in flatpage.url %} - {% include "seminar/cojemam/submenu.html" %} + {% if "/uvod/" in flatpage.url %} + {% with "uvod" as selected %} + {% include "seminar/cojemam/submenu.html" %} + {% endwith %} + {% elif "jak-resit" in flatpage.url %} + {% with "jak-resit" as selected %} + {% include "seminar/cojemam/submenu.html" %} + {% endwith %} + {% elif "FAQ" in flatpage.url %} + {% with "FAQ" as selected %} + {% include "seminar/cojemam/submenu.html" %} + {% endwith %} + {% else %} + {% include "seminar/cojemam/submenu.html" %} + {% endif %} {% endif %} {% if "/soustredeni/" in flatpage.url %} {% include "seminar/soustredeni/submenu.html" %} diff --git a/seminar/templates/seminar/cojemam/organizatori.html b/seminar/templates/seminar/cojemam/organizatori.html index d3b79982..f384dc10 100644 --- a/seminar/templates/seminar/cojemam/organizatori.html +++ b/seminar/templates/seminar/cojemam/organizatori.html @@ -7,6 +7,13 @@ {% endif %} {% endblock%}{% endblock%} +{% block menu_uvod %}selected{% endblock %} +{% block submenu %} + {% with "org" as selected %} + {% include "seminar/cojemam/submenu.html" %} + {% endwith %} +{% endblock %} + {% block content %}
{% if not aktivni %} diff --git a/seminar/templates/seminar/cojemam/submenu.html b/seminar/templates/seminar/cojemam/submenu.html index f130e583..2fe62d2f 100644 --- a/seminar/templates/seminar/cojemam/submenu.html +++ b/seminar/templates/seminar/cojemam/submenu.html @@ -1,10 +1,10 @@ {% with "/co-je-MaM" as cesta %} {% endwith %}