You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block "content" %}
|
|
|
|
<div style="float:left; width=200;">
|
|
|
|
<table class="showitem" width="864px" style="border-width:0px">
|
|
|
|
{% for item in items %}
|
|
|
|
<tr>
|
|
|
|
<td width="64px">
|
|
|
|
<a href="/store/show/{{ item.id }}"><img WIDTH=64 HEIGHT=64 src="{{ MEDIA_URL }}{{ item.image }}"></a>
|
|
|
|
</td>
|
|
|
|
<th width="200px" align="center">
|
|
|
|
<span style="font-size: large">{{ item.name }}</span><br/>
|
|
|
|
<a href="/store/show/{{ item.id }}">Details</a>
|
|
|
|
</th>
|
|
|
|
<td width="200px">
|
|
|
|
<a class="button" href="/store/buy/{{ item.id }}/">Kaufen für {{ item.price|floatformat:2 }} €<br/>{% if item.hasDeposit %} (Ohne Pfand){% endif %}</a>
|
|
|
|
</td>
|
|
|
|
<td width="200px">
|
|
|
|
{% if item.hasDeposit %}
|
|
|
|
<a class="button" href="/store/buy/{{ item.id }}/with/deposit/">Kaufen für {{ item.price|floatformat:2 }} € <br/>+ {{ item.deposit|floatformat:2 }} € Pfand</a>
|
|
|
|
{% else %}
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
</td>
|
|
|
|
<td width="200px">
|
|
|
|
{% if item.hasDeposit %}
|
|
|
|
<a class="button" href="/store/buy/{{ item.id }}/only/deposit/">Kaufen <br/>nur {{ item.deposit|floatformat:2 }} € Pfand</a>
|
|
|
|
{% else %}
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{% comment %}
|
|
|
|
Buy <a href="/store/buy/{{ item.id }}/">it!</a>
|
|
|
|
{% if item.hasDeposit %}
|
|
|
|
<a href="/store/buy/{{ item.id }}/with/deposit/">it+deposit!</a>
|
|
|
|
<a href="/store/buy/{{ item.id }}/only/deposit/"> only deposit!</a>
|
|
|
|
{% endif %}
|
|
|
|
</br> (
|
|
|
|
{% for type in item.buyableType.all %}
|
|
|
|
{{ type }}
|
|
|
|
{% endfor %} )
|
|
|
|
</div>{% endcomment %}
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
{% endblock %}
|