diff --git a/apps/course/templates/course/_items.html b/apps/course/templates/course/_items.html index 260a482e..2fd55a31 100644 --- a/apps/course/templates/course/_items.html +++ b/apps/course/templates/course/_items.html @@ -1,3 +1,4 @@ +{% load thumbnail %} {% load static %} {% load data_liked from data_liked %} @@ -8,9 +9,11 @@ > {% if course.cover %} - + {% thumbnail course.cover.image "300x170" crop="center" as im %} + + {% endthumbnail %} {% else %} - + {% endif %}
Подробнее
{% if course.is_featured %} @@ -86,4 +89,4 @@ - \ No newline at end of file +