Browse Source

showItem: *fix: BuyDeposit-button where there is no deposiyyy

master
tkroenert 11 years ago
parent
commit
7da1e4875b
  1. 2
      k4ever/buyable/templates/buyables/showItem.html

2
k4ever/buyable/templates/buyables/showItem.html

@ -19,6 +19,7 @@ @@ -19,6 +19,7 @@
<span><span>{{ item.price|floatformat:2 }}€</span></span>
</a>
{% if item.hasDeposit %}
<a class="button buy inclDeposit" href="/store/buy/{{ item.id }}/with/deposit/">
<span><span>{{ item.price|floatformat:2 }}€ / {{ item.deposit|floatformat:2 }}€</span></span>
</a>
@ -27,6 +28,7 @@ @@ -27,6 +28,7 @@
href="/store/buy/{{ item.id }}/only/deposit/">
<span><span>{{ item.deposit|floatformat:2 }}€</span></span>
</a>
{% endif %}
</div>
<h3>Beschreibung</h3>

Loading…
Cancel
Save