diff --git a/apps/school/templates/summer/_schedule_purchased_item.html b/apps/school/templates/summer/_schedule_purchased_item.html new file mode 100644 index 00000000..7bc7e6d7 --- /dev/null +++ b/apps/school/templates/summer/_schedule_purchased_item.html @@ -0,0 +1,78 @@ +{% load static %} {% load thumbnail %} +
+
+
+
+ {{ school_schedule }} +
+ {% if live_lesson %} +
{{ live_lesson.date }}
+ {% endif %} +
+
+
{{ school_schedule.start_at }} (МСК)
+ {% if school_schedule.weekday in school_schedules_purchased %} + {% if live_lesson and school_schedule.is_online or live_lesson and is_previous and live_lesson in live_lessons %} + {% include './open_lesson.html' %} + {% endif %} + {% else %} + {% include './day_pay_btn.html' %} + {% endif %} +
+ {% comment %} + + {% endcomment %} + {% if school_schedule.weekday in school_schedules_purchased %} + + {% endif %} +
+
+
+ {% thumbnail live_lesson.cover.image "70x70" crop="center" as im %} + + {% empty %} + + {% endthumbnail %} +
+
+
+
{{ school_schedule.title }}{% if live_lesson %}, + {{ live_lesson.title }} + {% endif %} +
+
+ {% if live_lesson %} + {{ live_lesson.short_description }} + {% else %} + {{ school_schedule.description }} + {% endif %} +
+
+
Материалы
+
+
+ {{ school_schedule.materials }} +
+
+ {% if school_schedule.schoolschedule_images.exists %} +
Результаты прошлых уроков
+ + {% endif %} +
+
+
+ +
+