|
@ -9,105 +9,3 @@ |
|
|
{{ flatpage.content }} |
|
|
{{ flatpage.content }} |
|
|
</div> |
|
|
</div> |
|
|
{% endblock content %} |
|
|
{% endblock content %} |
|
|
|
|
|
|
|
|
{# nahraj spravne submenu #} |
|
|
|
|
|
{% block submenu %} |
|
|
|
|
|
{# co-je-MaM #} |
|
|
|
|
|
{% 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 "odmeny" in flatpage.url %} |
|
|
|
|
|
{% with "odmeny" as selected %} |
|
|
|
|
|
{% include "seminar/cojemam/submenu.html" %} |
|
|
|
|
|
{% endwith %} |
|
|
|
|
|
{% elif "FAQ" in flatpage.url %} |
|
|
|
|
|
{% with "FAQ" as selected %} |
|
|
|
|
|
{% include "seminar/cojemam/submenu.html" %} |
|
|
|
|
|
{% endwith %} |
|
|
|
|
|
{% elif "kontakt" in flatpage.url %} |
|
|
|
|
|
{% else %} |
|
|
|
|
|
{% include "seminar/cojemam/submenu.html" %} |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
{# soustredeni #} |
|
|
|
|
|
{% 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" %} |
|
|
|
|
|
{% endwith %} |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
{# zadani #} |
|
|
|
|
|
{% if "/zadani/" in flatpage.url %} |
|
|
|
|
|
{% if "/aktualni-cislo/" in flatpage.url %} |
|
|
|
|
|
{% with "aktualni-cislo" as selected %} |
|
|
|
|
|
{% include "seminar/zadani/submenu.html" %} |
|
|
|
|
|
{% endwith %} |
|
|
|
|
|
{% elif "/vysledkova-listina/" in flatpage.url %} |
|
|
|
|
|
{% with "vysledkova-listina" as selected %} |
|
|
|
|
|
{% include "seminar/zadani/submenu.html" %} |
|
|
|
|
|
{% endwith %} |
|
|
|
|
|
{% else %} |
|
|
|
|
|
{% include "seminar/zadani/submenu.html" %} |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
{# clanky #} |
|
|
|
|
|
{% 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 %} |
|
|
|
|
|
{% elif "/jak-psat-vedecky-clanek/" in flatpage.url %} |
|
|
|
|
|
{% with "jak-psat-vedecky-clanek" as selected %} |
|
|
|
|
|
{% include "seminar/clanky/submenu.html" %} |
|
|
|
|
|
{% endwith %} |
|
|
|
|
|
{% else %} |
|
|
|
|
|
{% include "seminar/clanky/submenu.html" %} |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
{# archiv #} |
|
|
|
|
|
{% if "/archiv/" in flatpage.url %} |
|
|
|
|
|
{% if "/ulohy/" in flatpage.url %} |
|
|
|
|
|
{% with "ulohy" as selected %} |
|
|
|
|
|
{% include "seminar/archiv/submenu.html" %} |
|
|
|
|
|
{% endwith %} |
|
|
|
|
|
{% elif "/vysledky/" in flatpage.url %} |
|
|
|
|
|
{% with "vysledky" as selected %} |
|
|
|
|
|
{% include "seminar/archiv/submenu.html" %} |
|
|
|
|
|
{% endwith %} |
|
|
|
|
|
{% else %} |
|
|
|
|
|
{% include "seminar/archiv/submenu.html" %} |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
{% endblock %} |
|
|
|
|
|
|
|
|
|
|
|
{# zvirazneni menu #} |
|
|
|
|
|
{% block menu_uvod %}{% if not "/kontakt/" in flatpage.url %}{% if "/co-je-MaM/" in flatpage.url %}selected{% endif %}{% 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 %} |
|
|
|
|
|
{% block menu_odevzdat %}{% if "/kontakt/" in flatpage.url %}selected{% endif %}{% endblock %} |
|
|
|
|
|
|
|
|
|
|
|
{# zmena titulniho obrazku #} |
|
|
|
|
|
{% block header %}{% if "/co-je-MaM/" in flatpage.url %}cojemam{% elif "/soustredeni/" in flatpage.url %}soustredeni{% elif "/zadani/" in flatpage.url %}zadani{% elif "/clanky/" in flatpage.url %}clanky{% elif "/archiv/" in flatpage.url %}archiv{% else %}odeslat{% endif %}{% endblock header %} |
|
|
|
|
|
|
|
|
|
|
|
{# TODO zvirazneni submenu #} |
|
|
|
|
|