From f7476ebf68b0ccd65d9ccbc984c1a44c1d31840e Mon Sep 17 00:00:00 2001 From: theresa Date: Fri, 14 Oct 2011 20:23:29 +0200 Subject: [PATCH] Fix right column on start page and table width on buyable list --- k4ever/buyable/templates/buyables/showItems.html | 4 +++- k4ever/main/templates/main/product_list.html | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/k4ever/buyable/templates/buyables/showItems.html b/k4ever/buyable/templates/buyables/showItems.html index 8f4f60f..3008a48 100644 --- a/k4ever/buyable/templates/buyables/showItems.html +++ b/k4ever/buyable/templates/buyables/showItems.html @@ -2,5 +2,7 @@ {% block "content" %} Sortieren nach Letzte Ă„nderung | Alphabet | Preis
- {% include "buyables/product_list.html" with buyables=items %} +
+ {% include "buyables/product_list.html" with buyables=items %} +
{% endblock %} diff --git a/k4ever/main/templates/main/product_list.html b/k4ever/main/templates/main/product_list.html index 2a7cd3a..bbdb3b2 100644 --- a/k4ever/main/templates/main/product_list.html +++ b/k4ever/main/templates/main/product_list.html @@ -6,7 +6,7 @@ - {{ buyable.buyable__name }} ({{ buyable.num_buys }} mal gekauft) + {{ buyable.buyable__name }} {% if buyable.num_buys %}({{ buyable.num_buys }} mal gekauft){% endif %} {% if buyable.buyable__deposit > 0 %} @@ -24,4 +24,4 @@ {% else %}

{{ default|default_if_none:"Noch keine gekauft" }}

-{% endif %} \ No newline at end of file +{% endif %}