|
|
|
|
@ -1,7 +1,6 @@ |
|
|
|
|
{% load static %} {% load thumbnail %} |
|
|
|
|
<div class="timing__item {% if not live_lesson %} timing__item_bg{% endif %} js-timing-item js-timing-toggle"> |
|
|
|
|
<div class="timing__item{% if school_schedule.weekday > 5 %} timing__item_bg{% endif %} js-timing-item js-timing-toggle{% if not school_schedule.is_purchased %} disable{% endif %}"> |
|
|
|
|
<div class="timing__cell"> |
|
|
|
|
{% if school_schedule.is_purchased %} |
|
|
|
|
<div class="timing__info"> |
|
|
|
|
<div class="timing__day{% if school_schedule.is_online %} active{% endif %}"> |
|
|
|
|
{{ school_schedule }} |
|
|
|
|
@ -12,18 +11,17 @@ |
|
|
|
|
</div> |
|
|
|
|
<div class="timing__buy"> |
|
|
|
|
<div class="timing__time">{{ school_schedule.start_at }} (МСК)</div> |
|
|
|
|
{% if school_schedule.is_purchased %} |
|
|
|
|
{% if live_lesson %} |
|
|
|
|
{% include './open_lesson.html' %} |
|
|
|
|
{% endif %} |
|
|
|
|
{% include './pay_btn.html' %} |
|
|
|
|
{% else %} |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
{% comment %} |
|
|
|
|
<!-- это нужно чтобы в попапе продления школы всегда знать какие дни выбраны(куплены) --> |
|
|
|
|
{% endcomment %} |
|
|
|
|
<span style="display: none;" data-purchased="{{ school_schedule.weekday }}"></span> |
|
|
|
|
{% else %} |
|
|
|
|
{% include './pay_btn.html' %} |
|
|
|
|
{% endif %} |
|
|
|
|
</div> |
|
|
|
|
<div class="timing__cell"> |
|
|
|
|
<div class="timing__preview"> |
|
|
|
|
|