From 7e3590c6827d021c1654a13ce4a495d4f94117ad Mon Sep 17 00:00:00 2001 From: Ivlev Denis Date: Mon, 5 Feb 2018 08:22:35 +0300 Subject: [PATCH] Fix backward links --- apps/course/templates/course/_items.html | 24 ++++++++++++------------ apps/course/templates/course/course.html | 2 +- apps/course/views.py | 11 +++++++++-- 3 files changed, 22 insertions(+), 15 deletions(-) diff --git a/apps/course/templates/course/_items.html b/apps/course/templates/course/_items.html index af350f5c..1866fbcb 100644 --- a/apps/course/templates/course/_items.html +++ b/apps/course/templates/course/_items.html @@ -6,27 +6,27 @@ data-course data-course-id={{ course.id }} {% if course.is_deferred_start %}data-future-course data-future-course-time={{ course.deferred_start_at.timestamp }}{% endif %} > - - -
Подробнее
- {% if course.is_featured %} -
- {% endif %} {% if course.is_deferred_start %} -
-
Курс начнется:
-
{{ course.deferred_start_at_humanize }}
+
+ +
Подробнее
+ {% if course.is_featured %} +
+ {% endif %} {% if course.is_deferred_start %} +
+
Курс начнется:
+
{{ course.deferred_start_at_humanize }}
{% endif %} -
-