From 0938875092b67b3f76b2a0bea19bdba635219bee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?moritz=20m=C3=BCnch?= Date: Mon, 12 Jul 2021 11:21:32 +0200 Subject: [PATCH] #48 final fix --- coinmanager/coinc/templates/coinc/index.html | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/coinmanager/coinc/templates/coinc/index.html b/coinmanager/coinc/templates/coinc/index.html index 61b4ac7..fa8f12a 100644 --- a/coinmanager/coinc/templates/coinc/index.html +++ b/coinmanager/coinc/templates/coinc/index.html @@ -3,9 +3,14 @@

Gesamtwert {{ coin_sum }}

{% include 'coinc/filter_country.html' with countrys=countrys %}

Zuletzt gefunden

- {⅝ for coin in recent_coins %} + {% for coin in recent_coins %} + {% if coin.name %} +

{{ coin.found_on|date:"d.m.Y" }}: {{ coin.value|floatformat:2 }} € von {{ coin.year }} "{{ coin.name }}" aus {{ coin.country}} von {{ coin.found_by }}

+ {% else %}

{{ coin.found_on|date:"d.m.Y" }}: {{ coin.value|floatformat:2 }} € von {{ coin.year }} aus {{ coin.country}} von {{ coin.found_by }}

+ {% endif %} {% endfor %} {% else %} -

Trage zuerst Länder im Adminbereich ein.

{% endif %} +

Trage zuerst Länder im Adminbereich ein.

+ {% endif %} {% include 'footer.html' %}