X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/2b5915c86273728f6f1936f2c4e704edc6d19222..b2789efe30a42c1c9780c6cf132d905ea7e41c87:/catalogue/templates/catalogue/snippets/lesson_nav.html diff --git a/catalogue/templates/catalogue/snippets/lesson_nav.html b/catalogue/templates/catalogue/snippets/lesson_nav.html index 742004f..fa9d8ad 100755 --- a/catalogue/templates/catalogue/snippets/lesson_nav.html +++ b/catalogue/templates/catalogue/snippets/lesson_nav.html @@ -1,9 +1,10 @@ -{% load url from future %}

{% if root %} {{ root }} +{% elif lesson.type == 'synthetic' %} + Lekcje syntetyczne ze wszystkich tematów {% else %} - Wszystkie działy + Inne {% endif %}

@@ -12,9 +13,20 @@
  • {% if item == lesson %} {{ item }} + {% if mark_level and item.level.slug == 'liceum' %} (poziom zaawansowany){% endif %} {% else %} - {{ item }} + {{ item }} + {% if mark_level and item.level.slug == 'liceum' %} (poziom zaawansowany){% endif %} + {% endif %}
  • {% endfor %} + +{% with other=lesson.get_other_level %} + {% if other %} +

    Ten temat jest dostępny również na + poziomie + {% if other.slug == 'liceum' %}zaawansowanym{% else %}podstawowym{% endif %}.

    + {% endif %} +{% endwith %}