parent
b62b6543e4
commit
17e9321eed
@ -1,31 +0,0 @@
|
|||||||
{% if buyables %}
|
|
||||||
{% if removeWrapper == None %}
|
|
||||||
<table width=100%>
|
|
||||||
<tbody>
|
|
||||||
{% endif %}
|
|
||||||
{% for buyable in buyables %}
|
|
||||||
<tr>
|
|
||||||
<td class="productImage">
|
|
||||||
<a href="/store/show/{{ buyable.buyable__id }}"><img src="{{ MEDIA_URL }}{{ buyable.buyable__image }}" /></a>
|
|
||||||
</td>
|
|
||||||
<td class="name"><span>{{ buyable.buyable__name }}</span> ({{ buyable.num_buys }} mal gekauft)</td>
|
|
||||||
<td>
|
|
||||||
{% if buyable.buyable__deposit > 0 %}
|
|
||||||
<a class="buyButton" href="/store/buy/{{ buyable.buyable__id }}" title="Kaufen (Ohne Pfand)"><span>Kaufen (Ohne Pfand)</span></a>
|
|
||||||
<a class="buyButton includingDeposit" href="/store/buy/{{ buyable.buyable__id }}/with/deposit" title="Kaufen (Mit Pfand)"><span>Kaufen (Mit Pfand)</span></a>
|
|
||||||
{% if includeDeposit %}
|
|
||||||
<a class="buyButton onlyDeposit" href="/store/buy/{{ buyable.buyable__id }}/only/deposit" title="Kaufen (Nur Pfand)"><span>Kaufen (Nur Pfand)</span></a>
|
|
||||||
{% endif %}
|
|
||||||
{% else %}
|
|
||||||
<a class="buyButton" href="/store/buy/{{ buyable.buyable__id }}" title="Kaufen"><span>Kaufen</span></a>
|
|
||||||
{% endif %}
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
{% endfor %}
|
|
||||||
{% if removeWrapper == None %}
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
{% endif %}
|
|
||||||
{% else %}
|
|
||||||
<p>{{ default|default_if_none:"Noch keine gekauft" }}</p>
|
|
||||||
{% endif %}
|
|
@ -1,6 +1,6 @@
|
|||||||
<form method="post" action="/what/do/i/know">
|
<form method="get" action="#">
|
||||||
<input placeholder="Suche und kaufe..." class="autocomplete"
|
<input placeholder="Suche und kaufe..." class="autocomplete"
|
||||||
type="search" name="search_term" value="Lade Daten..."
|
type="search" name="search_term" value="Lade Daten..."
|
||||||
disabled="disabled" />
|
disabled="disabled" />
|
||||||
<input type="submit" value="Suchen" />
|
<input type="submit" value="Suchen" />
|
||||||
</form>
|
</form>
|
||||||
|
Loading…
Reference in new issue