|
|
|
|
@ -4,7 +4,7 @@ |
|
|
|
|
<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 %} |
|
|
|
|
{% 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-video-url="{{ school_schedule.trial_lesson }}">Пробный урок</a> |
|
|
|
|
{% endif %} |
|
|
|
|
</div> |
|
|
|
|
@ -20,7 +20,7 @@ |
|
|
|
|
{% else %} |
|
|
|
|
{% include './day_pay_btn.html' %} |
|
|
|
|
{% endif %} |
|
|
|
|
{% if not request.user_agent.is_mobile and school_schedule.trial_lesson %} |
|
|
|
|
{% if not is_purchased and 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> |
|
|
|
|
|