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