diff --git a/apps/course/templates/course/_items.html b/apps/course/templates/course/_items.html index 4025ab78..0b1ccce9 100644 --- a/apps/course/templates/course/_items.html +++ b/apps/course/templates/course/_items.html @@ -1,35 +1,29 @@ {% load static %} {% load data_liked from data_liked %} -
+
- +
Подробнее
{% if course.is_featured %} -
+
{% endif %} {% if course.is_deferred_start %}
Курс начнется:
{{ course.deferred_start_at_humanize }}
- {% endif %} + {% endif %}
- {{ course.category | upper }} + {{ course.category | upper }} {% if not course.is_free %} -
{{ course.price|floatformat:"-2" }}$
+
{{ course.price|floatformat:"-2" }}$
{% endif %}
{{ course.title }} @@ -37,21 +31,30 @@
- {% if course.author.photo %} -
- -
- {% else %} -
- -
- {% endif %} + {% if course.author.photo %} +
+ +
+ {% else %} +
+ +
+ {% endif %}
{{ course.author.get_full_name }}