From bffc06bbfdd44cf139fd16300a695719c3ddd164 Mon Sep 17 00:00:00 2001 From: gzbender Date: Tue, 15 Jan 2019 15:28:32 +0300 Subject: [PATCH] course_old_price --- apps/course/templates/course/course.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/course/templates/course/course.html b/apps/course/templates/course/course.html index f7a2ae4d..dc5400f2 100644 --- a/apps/course/templates/course/course.html +++ b/apps/course/templates/course/course.html @@ -121,7 +121,7 @@
- {{ course.old_price|floatformat:"-2" }}₽ + {% if course.old_price %}{{ course.old_price|floatformat:"-2" }}₽{% endif %} {{ course.price|floatformat:"-2" }}₽