|
|
@ -14,21 +14,91 @@ |
|
|
|
</div> |
|
|
|
{% endblock content %} |
|
|
|
|
|
|
|
{# nahraj spravne submenu #} |
|
|
|
{% block submenu %} |
|
|
|
{# co-je-MaM #} |
|
|
|
{% 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 %} |
|
|
|
{# soustredeni #} |
|
|
|
{% if "/soustredeni/" in flatpage.url %} |
|
|
|
{% include "seminar/soustredeni/submenu.html" %} |
|
|
|
{% if "/pripravujeme/" in flatpage.url %} |
|
|
|
{% with "pripravujeme" as selected %} |
|
|
|
{% include "seminar/soustredeni/submenu.html" %} |
|
|
|
{% endwith %} |
|
|
|
{% else %} |
|
|
|
{% with "uvod" as selected %} |
|
|
|
{% include "seminar/soustredeni/submenu.html" %} |
|
|
|
{% endwith %} |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
{# zadani #} |
|
|
|
{% if "/zadani/" in flatpage.url %} |
|
|
|
{% include "seminar/zadani/submenu.html" %} |
|
|
|
{% if "/ulohy/" in flatpage.url %} |
|
|
|
{% with "ulohy" as selected %} |
|
|
|
{% include "seminar/zadani/submenu.html" %} |
|
|
|
{% endwith %} |
|
|
|
{% elif "/aktualni-cislo/" in flatpage.url %} |
|
|
|
{% with "aktualni-cislo" as selected %} |
|
|
|
{% include "seminar/zadani/submenu.html" %} |
|
|
|
{% endwith %} |
|
|
|
{% elif "/vysledkove-listiny/" in flatpage.url %} |
|
|
|
{% with "vysledkove-listiny" as selected %} |
|
|
|
{% include "seminar/zadani/submenu.html" %} |
|
|
|
{% endwith %} |
|
|
|
{% else %} |
|
|
|
{% include "seminar/zadani/submenu.html" %} |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
{# clanky #} |
|
|
|
{% if "/clanky/" in flatpage.url %} |
|
|
|
{% include "seminar/clanky/submenu.html" %} |
|
|
|
{% if "/uvod/" in flatpage.url %} |
|
|
|
{% with "uvod" as selected %} |
|
|
|
{% include "seminar/clanky/submenu.html" %} |
|
|
|
{% endwith %} |
|
|
|
{% elif "/org/" in flatpage.url %} |
|
|
|
{% with "org" as selected %} |
|
|
|
{% include "seminar/clanky/submenu.html" %} |
|
|
|
{% endwith %} |
|
|
|
{% elif "/resitel/" in flatpage.url %} |
|
|
|
{% with "resitel" as selected %} |
|
|
|
{% include "seminar/clanky/submenu.html" %} |
|
|
|
{% endwith %} |
|
|
|
{% else %} |
|
|
|
{% include "seminar/clanky/submenu.html" %} |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
{# archiv #} |
|
|
|
{% if "/archiv/" in flatpage.url %} |
|
|
|
{% include "seminar/archiv/submenu.html" %} |
|
|
|
{% if "/ulohy/" in flatpage.url %} |
|
|
|
{% with "ulohy" as selected %} |
|
|
|
{% include "seminar/archiv/submenu.html" %} |
|
|
|
{% endwith %} |
|
|
|
{% else %} |
|
|
|
{% include "seminar/archiv/submenu.html" %} |
|
|
|
{% endif %} |
|
|
|
{% 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 #} |
|
|
|