X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/0b7c6a7b88888fe948faa33edc988ba10d62b7c5..3017f6ff905303f7d664d6da40c471c2d86381e3:/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 fa9d8ad..4e36e22 100755 --- a/catalogue/templates/catalogue/snippets/lesson_nav.html +++ b/catalogue/templates/catalogue/snippets/lesson_nav.html @@ -3,6 +3,8 @@ {{ root }} {% elif lesson.type == 'synthetic' %} Lekcje syntetyczne ze wszystkich tematów +{% elif lesson.type == 'project' %} + Projekty ze wszystkich tematów {% else %} Inne {% endif %} @@ -23,6 +25,7 @@ {% endfor %} +{% if link_other_level %} {% with other=lesson.get_other_level %} {% if other %}

Ten temat jest dostępny również na @@ -30,3 +33,4 @@ {% if other.slug == 'liceum' %}zaawansowanym{% else %}podstawowym{% endif %}.

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