|
|
|
|
@ -4,9 +4,12 @@ |
|
|
|
|
<div class="timing__info"> |
|
|
|
|
<div class="timing__day{% if school_schedule.is_online %} active{% endif %}"> |
|
|
|
|
{{ school_schedule }} |
|
|
|
|
{% if request.user_agent.is_mobile and school_schedule.trial_lesson %} |
|
|
|
|
<a class="timing__trial-lesson js-video-modal" href="#" data-video-url="{{ school_schedule.trial_lesson }}">Пробный урок</a> |
|
|
|
|
{% endif %} |
|
|
|
|
</div> |
|
|
|
|
{% if is_purchased and live_lesson %} |
|
|
|
|
<div class="timing__date">{{ live_lesson.date|date:"j E" }}</div> |
|
|
|
|
<div class="timing__date">{% if request.user_agent.is_mobile %}{{ live_lesson.date|date:"j b" }}{% else %}{{ live_lesson.date|date:"j E" }}{% endif %}</div> |
|
|
|
|
{% endif %} |
|
|
|
|
<div class="timing__time">{{ school_schedule.start_at }} (МСК)</div> |
|
|
|
|
<div class="timing__buy"> |
|
|
|
|
@ -17,7 +20,7 @@ |
|
|
|
|
{% else %} |
|
|
|
|
{% include './day_pay_btn.html' %} |
|
|
|
|
{% endif %} |
|
|
|
|
{% if school_schedule.trial_lesson %} |
|
|
|
|
{% if not request.user_agent.is_mobile and school_schedule.trial_lesson %} |
|
|
|
|
<a class="timing__trial-lesson js-video-modal" href="#" data-video-url="{{ school_schedule.trial_lesson }}">Пробный урок</a> |
|
|
|
|
{% endif %} |
|
|
|
|
</div> |
|
|
|
|
|