From c95566c634b718bf3c1ae2ad56af525313f0b128 Mon Sep 17 00:00:00 2001 From: nikita Date: Fri, 11 May 2018 21:33:46 +0300 Subject: [PATCH] CSS fixes All courses category fix --- apps/course/templates/course/_items.html | 6 +-- .../course/inclusion/category_menu_items.html | 2 +- apps/school/templates/blocks/promo.html | 22 --------- project/templates/blocks/promo.html | 22 --------- project/templates/blocks/video.html | 4 +- project/templates/lilcity/index.html | 22 +++++++++ web/src/sass/_common.sass | 46 ++++++++++--------- 7 files changed, 53 insertions(+), 71 deletions(-) diff --git a/apps/course/templates/course/_items.html b/apps/course/templates/course/_items.html index b181a3e2..05360776 100644 --- a/apps/course/templates/course/_items.html +++ b/apps/course/templates/course/_items.html @@ -8,10 +8,10 @@ {% if course.is_deferred_start and course.status == 2 %}data-future-course data-future-course-time={{ course.deferred_start_at.timestamp }}{% endif %} > - {% thumbnail course.cover.image "300x170" crop="center" as im %} - + {% thumbnail course.cover.image "300x200" crop="center" as im %} + {% empty %} - + {% endthumbnail %}
Подробнее
{% if course.is_featured %} diff --git a/apps/course/templates/course/inclusion/category_menu_items.html b/apps/course/templates/course/inclusion/category_menu_items.html index 105b803b..a01342a9 100644 --- a/apps/course/templates/course/inclusion/category_menu_items.html +++ b/apps/course/templates/course/inclusion/category_menu_items.html @@ -1,7 +1,7 @@ -{% for cat in category_items %}
Все курсы
+{% for cat in category_items %}
{{ cat.title }}
diff --git a/apps/school/templates/blocks/promo.html b/apps/school/templates/blocks/promo.html index 56abf89d..c225e36c 100644 --- a/apps/school/templates/blocks/promo.html +++ b/apps/school/templates/blocks/promo.html @@ -53,26 +53,4 @@ -
- - - - -
diff --git a/project/templates/blocks/promo.html b/project/templates/blocks/promo.html index 518e4e9b..86e34ea4 100644 --- a/project/templates/blocks/promo.html +++ b/project/templates/blocks/promo.html @@ -35,26 +35,4 @@ подробнее -
- - - - -
diff --git a/project/templates/blocks/video.html b/project/templates/blocks/video.html index 46b796eb..da0787e9 100644 --- a/project/templates/blocks/video.html +++ b/project/templates/blocks/video.html @@ -1,7 +1,7 @@ -
+