X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/4a5465903e5c24822b1d9f68c69f71b5daf4bc45..66639e61ca81cd591cddd58325fee1845eed8e30:/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 84f1eda..c505c04 100755 --- a/catalogue/templates/catalogue/snippets/section_box.html +++ b/catalogue/templates/catalogue/snippets/section_box.html @@ -1,3 +1,4 @@ +{% load thumbnail %} {% for level, types in lessons.items %} {% if level.slug == "liceum" %}
{{section.title}}: poziom zaawansowany
@@ -6,10 +7,23 @@
{% endif %}
+
+ {% endthumbnail %}
+ {% endif %}
Lekcja syntetyczna
+ {% elif lesson_type == 'project' %}
+ Projekt
{% else %}
PeÅny kurs
{% endif %}
@@ -17,9 +31,13 @@
{% for lesson in lesson_list %}
@@ -28,6 +46,7 @@
{% endif %}
(przeglÄ
d caÅego tematu w 45 minut)
- {% endif %}
+ {% if lesson.slug %}
+ {{ lesson }}{% if lesson_type == 'synthetic' %}
+
(przeglÄ
d caÅego tematu w 45 minut)
+ {% endif %}
+ {% else %}
+ {{ lesson }} (w przygotowaniu)
+ {% endif %}