Fix right column on start page and table width on buyable list

master
theresa 11 years ago
parent ff74f9305e
commit f7476ebf68
  1. 4
      k4ever/buyable/templates/buyables/showItems.html
  2. 4
      k4ever/main/templates/main/product_list.html

@ -2,5 +2,7 @@
{% block "content" %}
Sortieren nach <a href="/store/">Letzte Änderung</a> | <a href="?order=alphabet">Alphabet</a> | <a href="?order=price">Preis</a><br/>
{% include "buyables/product_list.html" with buyables=items %}
<div style="width:800px">
{% include "buyables/product_list.html" with buyables=items %}
</div>
{% endblock %}

@ -6,7 +6,7 @@
<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 class="name"><span>{{ buyable.buyable__name }}</span> {% if buyable.num_buys %}({{ buyable.num_buys }} mal gekauft){% endif %}</td>
<td class="actions">
{% if buyable.buyable__deposit > 0 %}
<a class="buyButton" href="/store/buy/{{ buyable.buyable__id }}" title="Kaufen (Ohne Pfand)"><span></span></a>
@ -24,4 +24,4 @@
</table>
{% else %}
<p>{{ default|default_if_none:"Noch keine gekauft" }}</p>
{% endif %}
{% endif %}

Loading…
Cancel
Save