diff --git a/k4ever/buyable/templates/buyables/product_list.html b/k4ever/buyable/templates/buyables/product_list.html index aea79c0..a20ca8d 100644 --- a/k4ever/buyable/templates/buyables/product_list.html +++ b/k4ever/buyable/templates/buyables/product_list.html @@ -1,7 +1,7 @@ {% load thumbnail %} {% if buyables %} - +
{% for buyable in buyables %} @@ -11,25 +11,25 @@ diff --git a/k4ever/buyable/templates/buyables/showItem.html b/k4ever/buyable/templates/buyables/showItem.html index f7be065..7fef02c 100644 --- a/k4ever/buyable/templates/buyables/showItem.html +++ b/k4ever/buyable/templates/buyables/showItem.html @@ -3,70 +3,45 @@ {% block "content" %} -

Zur Liste aller Items

+ Zur Liste aller Items {% if item %} -
{{ buyable.name }} {% if buyable.hasDeposit %} - - {{ buyable.price|floatformat:2 }} € + {{ buyable.price|floatformat:2 }}€ - - {{ buyable.price|floatformat:2 }} € / {{ buyable.deposit|floatformat:2 }} € + {{ buyable.price|floatformat:2 }}€ / {{ buyable.deposit|floatformat:2 }}€ - - {{ buyable.deposit|floatformat:2 }} € + {{ buyable.deposit|floatformat:2 }}€ {% else %} - - {{ buyable.price|floatformat:2 }} € + {{ buyable.price|floatformat:2 }}€ {% endif %}
- - - - - - -
- - - - - - - - - - - - - - - -
-
{{ item.name }}
- -
- Kategorie{{ item.buyableType.all.count|pluralize:"n"}}: - {% for type in item.buyableType.all %} - {{ type }}
- {% endfor %} -
- Preis: - - {{ item.price|floatformat:2 }} € {% if item.hasDeposit %}(+ Pfand {{ item.deposit|floatformat:2 }} €) {% endif %} -
- "{{ item.description }}" -
-
- - - - - - -
- {% if item.hasDeposit %} - Kaufen - {{ item.price|floatformat:2 }} €
+ {{ item.deposit|floatformat:2 }} € Pfand
- {% else %} -   - {% endif %} -
- Kaufen - {{ item.price|floatformat:2 }} €
{% if item.hasDeposit %} (Ohne Pfand){% endif %}
-
- {% if item.hasDeposit %} - Kaufen
nur {{ item.deposit|floatformat:2 }} € Pfand
- {% else %} -   - {% endif %} -
-
+
+
+ +
+
+
+

{{ item.name }}

+ +

Kaufen

+ + +

Beschreibung

+
"{{ item.description }}"
+ +

Kategorie{{ item.buyableType.all.count|pluralize:"n"}}

+
    + {% for type in item.buyableType.all %} +
  • {{ type }}
  • + {% endfor %} +
+
+
+
{% else %} - No item found :( + Produkt wurde nicht gefunden {% endif %} {% endblock %} diff --git a/k4ever/main/templates/base.html b/k4ever/main/templates/base.html index e1e4207..aa7558c 100644 --- a/k4ever/main/templates/base.html +++ b/k4ever/main/templates/base.html @@ -18,16 +18,23 @@