From 7bfa670b47299e4dbb1fe40a06205808cfc83b0f Mon Sep 17 00:00:00 2001 From: gzbender Date: Sun, 18 Aug 2019 21:52:33 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=BE=D0=B2=D1=8B=D0=B9=20=D0=B4=D0=B8?= =?UTF-8?q?=D0=B7=D0=B0=D0=B9=D0=BD=20/=20=D0=9A=D1=83=D1=80=D1=81=D1=8B?= =?UTF-8?q?=20=D0=BF=D0=BE=D0=B8=D1=81=D0=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/course/templates/course/_items.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/course/templates/course/_items.html b/apps/course/templates/course/_items.html index 7730e543..3b7be2d8 100644 --- a/apps/course/templates/course/_items.html +++ b/apps/course/templates/course/_items.html @@ -50,11 +50,11 @@ href="{% url 'courses' %}?category={{ course.category.id }}">{{ course.category | upper }} {% if not course.is_free %} {% if course.buy_again_price %} -
{{ course.price|floatformat:"-2" }}₽
+
{{ course.price|floatformat:"-2" }}₽
{{ course.buy_again_price|floatformat:"-2" }}₽
{% else %} {% if course.old_price %} -
{{ course.old_price|floatformat:"-2" }}₽
+
{{ course.old_price|floatformat:"-2" }}₽
{% endif %}
{{ course.price|floatformat:"-2" }}₽