From 905ac08d7e51abb06cfe11fd8df65be1d84d771f Mon Sep 17 00:00:00 2001 From: Ivlev Denis Date: Sun, 29 Apr 2018 11:43:13 +0300 Subject: [PATCH] Fix course meta in only lessons page --- .../templates/course/course_only_lessons.html | 36 +++---------------- 1 file changed, 4 insertions(+), 32 deletions(-) diff --git a/apps/course/templates/course/course_only_lessons.html b/apps/course/templates/course/course_only_lessons.html index b43e57ea..f6ce4f25 100644 --- a/apps/course/templates/course/course_only_lessons.html +++ b/apps/course/templates/course/course_only_lessons.html @@ -97,6 +97,7 @@
{{ course.duration | rupluralize:"день,дня,дней" }}
+ {% if course.deferred_start_at %}
@@ -105,6 +106,8 @@
{{ course.deferred_start_at | date:"d F Yг. H:i" }}
+ {% endif %} + {% if course.price %}
@@ -113,6 +116,7 @@
{{ course.price|floatformat:"-2" }}₽
+ {% endif %}
@@ -179,36 +183,9 @@ {% endfor %}
- {% comment %}
- -
{% endcomment %}
-{% comment %}
-
-
Материалы, которые понадобятся
-
- {% for material in course.materials.all %} -
- {% if material.cover %} -
- -
- {% else %} -
- -
- {% endif %} -
-
{{ material.title }}
-
{{ material.short_description }}
-
-
- {% endfor %} -
-
-
{% endcomment %} {% endif %}
@@ -245,11 +222,6 @@