diff --git a/apps/school/templates/blocks/schedule_item.html b/apps/school/templates/blocks/schedule_item.html
index 931c6829..63dde442 100644
--- a/apps/school/templates/blocks/schedule_item.html
+++ b/apps/school/templates/blocks/schedule_item.html
@@ -6,12 +6,12 @@
{{ school_schedule }}
{% if is_purchased and live_lesson %}
-
- {% if is_purchased %}
- {% if school_schedule.weekday in school_schedules_purchased and live_lesson and live_lesson.title %}
+ {% if is_purchased and school_schedule.weekday in school_schedules_purchased %}
+ {% if live_lesson and live_lesson.title %}
{% include './open_lesson.html' %}
{% endif %}
{% else %}
diff --git a/apps/user/views.py b/apps/user/views.py
index a14daef6..4f2d424e 100644
--- a/apps/user/views.py
+++ b/apps/user/views.py
@@ -73,7 +73,7 @@ class ProfileView(TemplateView):
school_payment = SchoolPayment.objects.filter(
user=self.object,
date_start__lte=now(),
- date_end__gt=now(),
+ date_end__gte=now(),
status__in=[
Pingback.PINGBACK_TYPE_REGULAR,
Pingback.PINGBACK_TYPE_GOODWILL,
diff --git a/project/templates/blocks/promo.html b/project/templates/blocks/promo.html
index f6f49349..58b06c89 100644
--- a/project/templates/blocks/promo.html
+++ b/project/templates/blocks/promo.html
@@ -11,22 +11,22 @@
Lil School — первая образовательная онлайн-платформа креативного мышления для детей
- {% if False and user.is_authenticated and online %}
+ {% if user.is_authenticated and online %}
Сейчас идёт прямой эфир урока «{{ school_schedule.title }}, {{ school_schedule.current_live_lesson.title }}»
{% if not is_purchased %}Получить доступ{% else %}Смотреть урок{% endif %}
+ >{% if not school_schedule.weekday in school_schedules_purchased %}Получить доступ{% else %}Смотреть урок{% endif %}
- {% elif False and user.is_authenticated and online_coming_soon and school_schedule and school_schedule.start_at_humanize %}
+ {% elif user.is_authenticated and online_coming_soon and school_schedule and school_schedule.start_at_humanize %}
Урок «{{ school_schedule.title }}, {{ school_schedule.current_live_lesson.title }}» начнётся
@@ -35,7 +35,7 @@