From 7da1e4875b368708d125b2fc05757562caddabb8 Mon Sep 17 00:00:00 2001 From: tkroenert Date: Fri, 28 Oct 2011 22:09:19 +0200 Subject: [PATCH] showItem: *fix: BuyDeposit-button where there is no deposiyyy --- k4ever/buyable/templates/buyables/showItem.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/k4ever/buyable/templates/buyables/showItem.html b/k4ever/buyable/templates/buyables/showItem.html index 3c15227..9fcac92 100644 --- a/k4ever/buyable/templates/buyables/showItem.html +++ b/k4ever/buyable/templates/buyables/showItem.html @@ -19,6 +19,7 @@ {{ item.price|floatformat:2 }}€ + {% if item.hasDeposit %} {{ item.price|floatformat:2 }}€ / {{ item.deposit|floatformat:2 }}€ @@ -27,6 +28,7 @@ href="/store/buy/{{ item.id }}/only/deposit/"> {{ item.deposit|floatformat:2 }}€ + {% endif %}

Beschreibung