From 739fdd63b8d06c8c87bf69dd7f271f70d4870200 Mon Sep 17 00:00:00 2001 From: Sergey G Date: Mon, 22 Jan 2018 14:49:01 +0500 Subject: [PATCH] LIL-94 Show price --- project/templates/lilcity/_courses_item.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/templates/lilcity/_courses_item.html b/project/templates/lilcity/_courses_item.html index 15299fd6..58e7d90e 100644 --- a/project/templates/lilcity/_courses_item.html +++ b/project/templates/lilcity/_courses_item.html @@ -14,7 +14,7 @@ {% endif %}
АНИМАЦИЯ -
30$
+ {% if not course.is_free %}
{{ course.price|floatformat:"-2" }}$
{% endif %}
{{ course.title }}
{{ course.short_description }}