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.
30 lines
789 B
30 lines
789 B
{% extends "base.html" %}
|
|
|
|
{% block "content" %}
|
|
{% if item %}
|
|
<table border="1" frame="box" rules="cols" width="40%" cellpadding="5">
|
|
<tr>
|
|
<td colspan="2"><img src="{{ MEDIA_URL }}{{ item.image }}"></td>
|
|
</tr>
|
|
<tr>
|
|
<th>Zugehörig zu:</th>
|
|
<td>{% for type in item.buyableType.all %}
|
|
{{ type }}
|
|
{% endfor %}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Kauf {{ item }}:</th>
|
|
<td>Buy <a href="/store/buy/{{ item.id }}/">it!</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td> </td>
|
|
<td>{% 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 %}</td>
|
|
</tr></table>
|
|
{% else %}
|
|
No item found :(
|
|
{% endif %}
|
|
{% endblock %}
|