showItem: *fix: BuyDeposit-button where there is no deposiyyy
This commit is contained in:
parent
7e608ae6af
commit
7da1e4875b
|
@ -19,6 +19,7 @@
|
||||||
<span><span>{{ item.price|floatformat:2 }}€</span></span>
|
<span><span>{{ item.price|floatformat:2 }}€</span></span>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
{% if item.hasDeposit %}
|
||||||
<a class="button buy inclDeposit" href="/store/buy/{{ item.id }}/with/deposit/">
|
<a class="button buy inclDeposit" href="/store/buy/{{ item.id }}/with/deposit/">
|
||||||
<span><span>{{ item.price|floatformat:2 }}€ / {{ item.deposit|floatformat:2 }}€</span></span>
|
<span><span>{{ item.price|floatformat:2 }}€ / {{ item.deposit|floatformat:2 }}€</span></span>
|
||||||
</a>
|
</a>
|
||||||
|
@ -27,6 +28,7 @@
|
||||||
href="/store/buy/{{ item.id }}/only/deposit/">
|
href="/store/buy/{{ item.id }}/only/deposit/">
|
||||||
<span><span>{{ item.deposit|floatformat:2 }}€</span></span>
|
<span><span>{{ item.deposit|floatformat:2 }}€</span></span>
|
||||||
</a>
|
</a>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h3>Beschreibung</h3>
|
<h3>Beschreibung</h3>
|
||||||
|
|
Loading…
Reference in New Issue