From ca55f8af19f3829edea4fa72f6e8b4165f17aad4 Mon Sep 17 00:00:00 2001 From: gzbender Date: Tue, 20 Aug 2019 21:52:01 +0300 Subject: [PATCH 1/2] =?UTF-8?q?=D0=9E=D1=82=D0=BA=D1=80=D1=8B=D1=82=D0=B8?= =?UTF-8?q?=D0=B5=20=D1=88=D0=BA=D0=BE=D0=BB=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/school/templates/blocks/schedule_item.html | 2 ++ apps/school/templates/summer/buy.html | 7 ++++--- project/templates/blocks/header.html | 14 +++++++------- 3 files changed, 13 insertions(+), 10 deletions(-) diff --git a/apps/school/templates/blocks/schedule_item.html b/apps/school/templates/blocks/schedule_item.html index 66e80182..86c5d301 100644 --- a/apps/school/templates/blocks/schedule_item.html +++ b/apps/school/templates/blocks/schedule_item.html @@ -20,9 +20,11 @@ {% include './open_lesson.html' %} {% endif %} {% else %} + {% comment %} {% if not is_purchased_future and is_drawing_camp %} {% include './day_pay_btn.html' %} {% endif %} + {% endcomment %} {% endif %} {% if not is_purchased and not request.user_agent.is_mobile and school_schedule.trial_lesson %} Пробный урок diff --git a/apps/school/templates/summer/buy.html b/apps/school/templates/summer/buy.html index a7a7cf71..8419f130 100644 --- a/apps/school/templates/summer/buy.html +++ b/apps/school/templates/summer/buy.html @@ -2,12 +2,13 @@
- {% if not is_purchased and not is_purchased_future %}Купить доступ от {{ min_school_price }} руб./месяц{% endif %} + {% if not is_purchased and not is_purchased_future %}Узнать стоимость{% endif %} {% if is_purchased_future and not is_purchased %}ваша подписка начинается {{school_purchased_future.date_start}}{% endif %} {% if is_purchased %}ваша подписка истекает {{ subscription_ends_humanize }}
перейти к оплате{% endif %}
diff --git a/project/templates/blocks/header.html b/project/templates/blocks/header.html index d2a302b8..f56423da 100644 --- a/project/templates/blocks/header.html +++ b/project/templates/blocks/header.html @@ -30,13 +30,13 @@ ГЛАВНАЯ
- + @@ -45,11 +45,11 @@ -
- - БЕСПЛАТНЫЕ УРОКИ - -
+ + + + +
ВИДЕО-КУРСЫ
From 4d12008a9e30c1f03c344ba375dc5a80d1537fee Mon Sep 17 00:00:00 2001 From: gzbender Date: Wed, 21 Aug 2019 15:36:55 +0300 Subject: [PATCH 2/2] =?UTF-8?q?=D0=91=D0=B0=D0=B3=D0=B8=20=D1=81=D1=82?= =?UTF-8?q?=D1=80=D0=B0=D0=BD=D0=B8=D1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/school/templates/blocks/schedule_item.html | 5 +---- web/src/sass/_common.sass | 4 +--- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/apps/school/templates/blocks/schedule_item.html b/apps/school/templates/blocks/schedule_item.html index 86c5d301..1ce333a3 100644 --- a/apps/school/templates/blocks/schedule_item.html +++ b/apps/school/templates/blocks/schedule_item.html @@ -6,9 +6,6 @@
{{ school_schedule }} - {% if not is_purchased and request.user_agent.is_mobile and school_schedule.trial_lesson %} - Пробный урок - {% endif %}
{% if is_purchased and live_lesson %}
{% if request.user_agent.is_mobile %}{{ live_lesson.date|date:"j b" }}{% else %}{{ live_lesson.date|date:"j E" }}{% endif %}
@@ -26,7 +23,7 @@ {% endif %} {% endcomment %} {% 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 %} Пробный урок {% endif %}
diff --git a/web/src/sass/_common.sass b/web/src/sass/_common.sass index 2b362379..badaeaf4 100755 --- a/web/src/sass/_common.sass +++ b/web/src/sass/_common.sass @@ -4362,9 +4362,7 @@ a.grey-link display: inline-block margin-top: 10px +m - position: absolute; - width: 120px; - margin-top: 6px; + margin-top: 0 &__time margin: 15px 0 opacity: .5