X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/39844fcccd43fc77f6beb350f5792bb0859135df..dfcf9b11ca2fc3173a3b6925198836b6ddaaa61c:/catalogue/templates/catalogue/snippets/section_box.html diff --git a/catalogue/templates/catalogue/snippets/section_box.html b/catalogue/templates/catalogue/snippets/section_box.html index a931776..3d265bb 100755 --- a/catalogue/templates/catalogue/snippets/section_box.html +++ b/catalogue/templates/catalogue/snippets/section_box.html @@ -1,20 +1,35 @@ -{% for level, depths in lessons.items %} -
+{% for level, types in lessons.items %} +{% if level.slug == "liceum" %} +

{{section.title}}: poziom zaawansowany + wróć do spisu treści +

+{% endif %} +
{% spaceless %} - {% for depth, lesson_list in depths.items %} -
- {% if depth == 0 %} + {% for lesson_type, lesson_list in types.items %} +
+ {% if lesson_type == 'synthetic' %}

Lekcja syntetyczna

{% else %}

Pełny kurs

{% endif %} -
{% endfor %} {% endspaceless %}