diff --git a/apps/course/templates/course/course_only_lessons.html b/apps/course/templates/course/course_only_lessons.html index be9867a4..efc12698 100644 --- a/apps/course/templates/course/course_only_lessons.html +++ b/apps/course/templates/course/course_only_lessons.html @@ -25,6 +25,9 @@
Вернуться
+ {% if has_full_access %} + Редактировать + {% endif %} {% if not paid and course.price and not has_full_access %}
+
+
{{ forloop.counter }}. {{ lesson.title }}
+
{{ lesson.short_description | truncatechars_html:800 | safe }}
+
Перейти к уроку +
-
-
{{ forloop.counter }}. {{ lesson.title }}
-
{{ lesson.short_description | truncatechars_html:800 | safe }}
- Перейти к уроку -
{% endfor %} diff --git a/apps/course/templates/course/lesson.html b/apps/course/templates/course/lesson.html index 9c6b1583..608153f0 100644 --- a/apps/course/templates/course/lesson.html +++ b/apps/course/templates/course/lesson.html @@ -28,15 +28,9 @@
-
-
- -
-
{{ lesson.title }}
-
{{ lesson.short_description | linebreaks }}
+
{{ lesson.short_description | safe | linebreaks }}
{% if lesson.author.photo %} @@ -57,6 +51,12 @@
+
+
+ +
+
diff --git a/web/src/sass/_common.sass b/web/src/sass/_common.sass index 60bd0877..2404554c 100755 --- a/web/src/sass/_common.sass +++ b/web/src/sass/_common.sass @@ -2657,6 +2657,7 @@ a.grey-link &__subtitle margin-bottom: 20px text-transform: none + letter-spacing: normal &__row display: flex +m @@ -2675,6 +2676,8 @@ a.grey-link object-fit: cover width: 100% height: 100% + &__content-wrapper + flex: 1 &__content flex: 0 0 calc(100% - 165px) &__actions @@ -2714,6 +2717,8 @@ a.grey-link .lesson &__subtitle + letter-spacing: normal + text-transform: none margin-bottom: 10px color: #191919 &__content