diff --git a/apps/school/templates/blocks/_schedule_purchased_item.html b/apps/school/templates/blocks/_schedule_purchased_item.html index 7348bf12..84422eb2 100644 --- a/apps/school/templates/blocks/_schedule_purchased_item.html +++ b/apps/school/templates/blocks/_schedule_purchased_item.html @@ -1,7 +1,6 @@ {% load static %} {% load thumbnail %} -
+
- {% if school_schedule.is_purchased %}
{{ school_schedule }} @@ -12,18 +11,17 @@
{{ school_schedule.start_at }} (МСК)
+ {% if school_schedule.is_purchased %} {% if live_lesson %} {% include './open_lesson.html' %} {% endif %} + {% include './pay_btn.html' %} + {% else %}
- {% comment %} {% endcomment %} - {% else %} - {% include './pay_btn.html' %} - {% endif %}
diff --git a/apps/school/templates/blocks/schedule.html b/apps/school/templates/blocks/schedule.html index bfd4bebe..a0cb4b73 100644 --- a/apps/school/templates/blocks/schedule.html +++ b/apps/school/templates/blocks/schedule.html @@ -7,7 +7,7 @@
{% for school_schedule in school_schedules %} {% with current_live_lesson=school_schedule.current_live_lesson %} -
+