X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/c52181f8ccd2d9a9d50fbe31bbab0e34b16a362e..543746a467e90915f7eaf60b7b09f5fa498056e0:/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 f7ad6e5..c505c04 100755 --- a/catalogue/templates/catalogue/snippets/section_box.html +++ b/catalogue/templates/catalogue/snippets/section_box.html @@ -1,15 +1,29 @@ +{% load thumbnail %} {% for level, types in lessons.items %} {% if level.slug == "liceum" %} -

Poziom zaawansowany +

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

{% endif %} -
+
{% spaceless %} +
{% for lesson_type, lesson_list in types.items %} + {% if lesson_type == 'project' %} +
+ {% endif %}
{% if lesson_type == 'synthetic' %} + {% if section.image %} + {% thumbnail section.image "120x160" as im %} + + + + {% endthumbnail %} + {% endif %}

Lekcja syntetyczna

+ {% elif lesson_type == 'project' %} +

Projekt

{% else %}

Pełny kurs

{% endif %} @@ -17,9 +31,13 @@ @@ -28,6 +46,7 @@ {% endif %}
{% endfor %} +
{% endspaceless %}
{% endfor %}