diff --git a/apps/course/templates/course/_items.html b/apps/course/templates/course/_items.html index 0bb7c7d2..ff72a87d 100644 --- a/apps/course/templates/course/_items.html +++ b/apps/course/templates/course/_items.html @@ -73,7 +73,6 @@
{{ course.author.get_full_name }}
-
{{ course.created_at_humanize }}
{% data_liked user course as liked %}
{{ course.author.get_full_name }}
-
-
{{ course.created_at_humanize }}
-
- +
{{ course.duration | rupluralize:"день,дня,дней" }}
+ {% if course.price %}
@@ -279,30 +276,19 @@ {% endif %}
{{ course.author.get_full_name }}
-
-
{{ course.created_at_humanize }}
-
- -
-
- - - -
-
{{ course.created_at | date:"d F Yг." }}
-
+
{% if course.price %}
diff --git a/apps/course/templates/course/course_only_lessons.html b/apps/course/templates/course/course_only_lessons.html index b603874b..9aef0650 100644 --- a/apps/course/templates/course/course_only_lessons.html +++ b/apps/course/templates/course/course_only_lessons.html @@ -85,30 +85,19 @@ {% endif %}
{{ course.author.get_full_name }}
-
-
{{ course.created_at_humanize }}
-
- -
-
- - - -
-
{{ course.created_at | date:"d F Yг." }}
-
+
{% if course.price %}
@@ -119,8 +108,6 @@
{{ course.price|floatformat:"-2" }}₽
{% endif %} -
-
diff --git a/apps/course/templates/course/lesson.html b/apps/course/templates/course/lesson.html index f6fb6a9c..e4f083f0 100644 --- a/apps/course/templates/course/lesson.html +++ b/apps/course/templates/course/lesson.html @@ -47,9 +47,6 @@ {% endif %}
{{ lesson.author.get_full_name }}
-
-
{{ lesson.created_at_humanize }}
-
diff --git a/web/src/sass/_common.sass b/web/src/sass/_common.sass index 6cecc9c0..28847a1c 100755 --- a/web/src/sass/_common.sass +++ b/web/src/sass/_common.sass @@ -1058,6 +1058,7 @@ a[name] flex: 0 0 40px &__info flex: 0 0 calc(100% - 50px) + display: flex &__name, &__date +fb @@ -1065,9 +1066,8 @@ a[name] text-transform: uppercase letter-spacing: 0.5px line-height: 1.1 - &__name - margin-bottom: 5px &__meta + flex: 1 display: flex align-items: center &__date @@ -2539,6 +2539,7 @@ a.grey-link &__item display: flex align-items: center + color: inherit &__item //&:not(:last-child) margin-right: 40px