|
|
|
|
@ -6,15 +6,17 @@ |
|
|
|
|
{{ school_schedule }} |
|
|
|
|
</div> |
|
|
|
|
{% if live_lesson %} |
|
|
|
|
<!--<div class="timing__date">{{ live_lesson.date }}</div>--> |
|
|
|
|
<div class="timing__date">{{ live_lesson.date }}</div> |
|
|
|
|
{% endif %} |
|
|
|
|
</div> |
|
|
|
|
<div class="timing__buy"> |
|
|
|
|
<div class="timing__time">{{ school_schedule.start_at }} (МСК)</div> |
|
|
|
|
{% if school_schedule.weekday in school_schedules_purchased and live_lesson %} |
|
|
|
|
{% include './open_lesson.html' %} |
|
|
|
|
{% if school_schedule.weekday in school_schedules_purchased %} |
|
|
|
|
{% if live_lesson and live_lesson.title %} |
|
|
|
|
{% include './open_lesson.html' %} |
|
|
|
|
{% endif %} |
|
|
|
|
{% else %} |
|
|
|
|
{% include './day_pay_btn.html' %} |
|
|
|
|
{% include './day_pay_btn.html' %} |
|
|
|
|
{% endif %} |
|
|
|
|
</div> |
|
|
|
|
{% comment %} |
|
|
|
|
@ -34,12 +36,12 @@ |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="timing__cell"> |
|
|
|
|
<div class="timing__title">{{ school_schedule.title }}{% if live_lesson %}, |
|
|
|
|
<div class="timing__title">{{ school_schedule.title }}{% if live_lesson and live_lesson.title %}, |
|
|
|
|
<span class="bold">{{ live_lesson.title }}</span> |
|
|
|
|
{% endif %} |
|
|
|
|
</div> |
|
|
|
|
<div class="timing__content"> |
|
|
|
|
{% if live_lesson %} |
|
|
|
|
{% if live_lesson and live_lesson.short_description %} |
|
|
|
|
{{ live_lesson.short_description }} |
|
|
|
|
{% else %} |
|
|
|
|
{{ school_schedule.description }} |
|
|
|
|
|