Podbarvovani menu ve flatpages
This commit is contained in:
parent
fd98e13d41
commit
92fad5e1f0
1 changed files with 9 additions and 0 deletions
|
@ -14,6 +14,7 @@
|
|||
</div>
|
||||
{% 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 #}
|
||||
|
|
Loading…
Reference in a new issue