diff --git a/apps/content/models.py b/apps/content/models.py
index 7178efd4..e57746f3 100644
--- a/apps/content/models.py
+++ b/apps/content/models.py
@@ -184,7 +184,7 @@ class Banner(models.Model):
def is_video_url(self):
return self.url and ('vimeo.com' in self.url
or 'youtube.com' in self.url and 'watch' in self.url
- or 'youto.be' in self.url)
+ or 'youtu.be' in self.url)
class Contest(models.Model):
diff --git a/apps/course/templates/course/course.html b/apps/course/templates/course/course.html
index 99642e86..ac76811a 100644
--- a/apps/course/templates/course/course.html
+++ b/apps/course/templates/course/course.html
@@ -166,25 +166,25 @@
-
Описание курса
+
Описание курса
{% if course.author == request.user and request.user.role >= request.user.AUTHOR_ROLE %}
УРОКИ
{% elif request.user.role == request.user.ADMIN_ROLE %}
УРОКИ
{% else %}
УРОКИ
{% if not paid and course.price %}
diff --git a/apps/course/views.py b/apps/course/views.py
index 34f329eb..d4bd0298 100644
--- a/apps/course/views.py
+++ b/apps/course/views.py
@@ -230,7 +230,6 @@ class CourseView(DetailView):
except queryset.model.DoesNotExist:
raise Http404(_("No %(verbose_name)s found matching the query") %
{'verbose_name': queryset.model._meta.verbose_name})
- obj.cover = None
return obj
def get_context_data(self, **kwargs):
@@ -360,10 +359,6 @@ class CoursesView(ListView):
for course in context['course_items']:
if course.id in can_buy_again_courses:
course.buy_again_price = course.price / 2
- for course in context['course_items']:
- course.cover = None
- for course in context['new_courses']:
- course.cover = None
return context
def get_template_names(self):
diff --git a/project/templates/blocks/about.html b/project/templates/blocks/about.html
index d24701e3..23427255 100644
--- a/project/templates/blocks/about.html
+++ b/project/templates/blocks/about.html
@@ -10,7 +10,7 @@
Вы житель мегаполиса и у вас нет времени дополнительно развивать своего ребенка?
Или вы живете в маленьком городе,
где нет качественных школ и секций для детей?
- Lil-School это решение для тех родителей, кто стремится дать лучшее своему ребенку.
+
Lil School - это решение для тех родителей, кто стремится дать лучшее своему ребенку.
Учитесь, не выходя из дома!
diff --git a/project/templates/blocks/footer.html b/project/templates/blocks/footer.html
index 021faff8..07edfa55 100644
--- a/project/templates/blocks/footer.html
+++ b/project/templates/blocks/footer.html
@@ -24,6 +24,7 @@
+
diff --git a/project/templates/blocks/header.html b/project/templates/blocks/header.html
index 24b5ecd0..d2a302b8 100644
--- a/project/templates/blocks/header.html
+++ b/project/templates/blocks/header.html
@@ -64,10 +64,6 @@
-
{% include 'templates/blocks/user_menu.html' %}
diff --git a/project/templates/blocks/online_school.html b/project/templates/blocks/online_school.html
index 777baebe..b0d720ca 100644
--- a/project/templates/blocks/online_school.html
+++ b/project/templates/blocks/online_school.html
@@ -5,15 +5,15 @@
Видеоуроки
-
Каждый день!
+
каждый день!
5 дисциплин
-
В разных техниках
+
в разных техниках
Запись эфира
-
Хранится 7 дней
+
хранится 7 дней
diff --git a/web/src/sass/_common.sass b/web/src/sass/_common.sass
index 1b7579f9..2b362379 100755
--- a/web/src/sass/_common.sass
+++ b/web/src/sass/_common.sass
@@ -217,6 +217,9 @@ button
background: none
border: 1px solid $cl
color: $cl
+ &_stroke-green
+ border: solid 1px #7ed321
+ background: none
&_pink-blue
background-image: linear-gradient(100deg, #8febff, #ffa2cb)
&_disabled
@@ -443,8 +446,8 @@ a.btn
visibility: visible
&__section
display: block
- height: 100px
- margin: 0 15px
+ height: 90px
+ margin: -10px 15px 0
border-bottom: 1px solid transparent
+fb
font-size: 12px