Browse Source

Merge branch 'master' of 195.113.26.193:/akce/MaM/MaMweb/mamweb

remotes/origin/vyslbez12 deploy-prod-2015-09-12-14-49-xlfd
Jethro 9 years ago
parent
commit
3e7fe43d35
  1. 6
      mamweb/templates/flatpages/default.html
  2. 1
      seminar/templates/seminar/zadani/submenu.html

6
mamweb/templates/flatpages/default.html

@ -47,11 +47,7 @@
{% endif %} {% endif %}
{# zadani #} {# zadani #}
{% if "/zadani/" in flatpage.url %} {% if "/zadani/" in flatpage.url %}
{% if "/ulohy/" in flatpage.url %} {% if "/aktualni-cislo/" in flatpage.url %}
{% with "ulohy" as selected %}
{% include "seminar/zadani/submenu.html" %}
{% endwith %}
{% elif "/aktualni-cislo/" in flatpage.url %}
{% with "aktualni-cislo" as selected %} {% with "aktualni-cislo" as selected %}
{% include "seminar/zadani/submenu.html" %} {% include "seminar/zadani/submenu.html" %}
{% endwith %} {% endwith %}

1
seminar/templates/seminar/zadani/submenu.html

@ -2,7 +2,6 @@
<ul> <ul>
<li class="{% if selected == "aktualni" %}selected{% endif %}"><a href="{{cesta}}/aktualni/">Aktuální zadání</a> <li class="{% if selected == "aktualni" %}selected{% endif %}"><a href="{{cesta}}/aktualni/">Aktuální zadání</a>
<li class="{% if selected == "ulohy" %}selected{% endif %}"><a href="{{cesta}}/ulohy/">Úlohy</a>
<li class="{% if selected == "temata" %}selected{% endif %}"><a href="{{cesta}}/temata/">Témata</a> <li class="{% if selected == "temata" %}selected{% endif %}"><a href="{{cesta}}/temata/">Témata</a>
<li class="{% if selected == "aktualni-cislo" %}selected{% endif %}"><a href="{{cesta}}/aktualni-cislo/">Aktuální číslo</a> <li class="{% if selected == "aktualni-cislo" %}selected{% endif %}"><a href="{{cesta}}/aktualni-cislo/">Aktuální číslo</a>
<li class="{% if selected == "vysledkove-listiny" %}selected{% endif %}"><a href="{{cesta}}/vysledkove-listiny/">Výsledkové listiny</a> <li class="{% if selected == "vysledkove-listiny" %}selected{% endif %}"><a href="{{cesta}}/vysledkove-listiny/">Výsledkové listiny</a>

Loading…
Cancel
Save