|
|
|
@ -6,9 +6,6 @@ |
|
|
|
<div class="timing__info"> |
|
|
|
<div class="timing__info"> |
|
|
|
<div class="timing__day{% if school_schedule.is_online %} active{% endif %}"> |
|
|
|
<div class="timing__day{% if school_schedule.is_online %} active{% endif %}"> |
|
|
|
{{ school_schedule }} |
|
|
|
{{ school_schedule }} |
|
|
|
{% if not is_purchased and request.user_agent.is_mobile and school_schedule.trial_lesson %} |
|
|
|
|
|
|
|
<a class="timing__trial-lesson js-video-modal" href="#" data-trial-lesson="1" data-video-url="{{ school_schedule.trial_lesson|safe }}">Пробный урок</a> |
|
|
|
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{% if is_purchased and live_lesson %} |
|
|
|
{% if is_purchased and live_lesson %} |
|
|
|
<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> |
|
|
|
<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> |
|
|
|
@ -26,7 +23,7 @@ |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
{% endcomment %} |
|
|
|
{% endcomment %} |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
{% if not is_purchased and not request.user_agent.is_mobile and school_schedule.trial_lesson %} |
|
|
|
{% if not is_purchased and school_schedule.trial_lesson %} |
|
|
|
<a class="timing__trial-lesson js-video-modal" href="#" data-trial-lesson="1" data-video-url="{{ school_schedule.trial_lesson|safe }}">Пробный урок</a> |
|
|
|
<a class="timing__trial-lesson js-video-modal" href="#" data-trial-lesson="1" data-video-url="{{ school_schedule.trial_lesson|safe }}">Пробный урок</a> |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|