X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/54431b5080c621c05714ccfc1accca816aeff2fc..0fb18b38f2379e67d0098658eb2822c11a341d25:/curriculum/templates/curriculum/snippets/course_box.html diff --git a/curriculum/templates/curriculum/snippets/course_box.html b/curriculum/templates/curriculum/snippets/course_box.html new file mode 100755 index 0000000..b00c71a --- /dev/null +++ b/curriculum/templates/curriculum/snippets/course_box.html @@ -0,0 +1,33 @@ +{% for level, types in lessons.items %} +{% if level.slug == "liceum" %} +

Poziom zaawansowany + wróć do spisu treści +

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

Lekcje syntetyczne

+ {% else %} +

Lekcje z pełnych kursów

+ {% endif %} + {% if lesson_list %} + + {% else %} +

(W przygotowaniu)

+ {% endif %} +
+ {% endfor %} + {% endspaceless %} +
+{% endfor %}