2010-10-16 17:33:18 +02:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block "content" %}
|
2011-10-02 17:58:54 +02:00
|
|
|
<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>
|
2011-09-30 22:55:31 +02:00
|
|
|
{% 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 %} )
|
2011-10-02 17:58:54 +02:00
|
|
|
</div>{% endcomment %}
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
2011-09-28 10:51:32 +02:00
|
|
|
{% endblock %}
|