From 6bcd068b634e43767395bd9cdb981c0863a9acff Mon Sep 17 00:00:00 2001 From: mariusrklein <47218379+mariusrklein@users.noreply.github.com> Date: Sat, 28 Dec 2024 01:14:48 +0100 Subject: [PATCH] improved qr code display --- .../finance/locale/de/LC_MESSAGES/django.po | 27 +++++++--- .../templates/admin/confirmed_statement.html | 52 ++++++++++++++----- 2 files changed, 60 insertions(+), 19 deletions(-) diff --git a/jdav_web/finance/locale/de/LC_MESSAGES/django.po b/jdav_web/finance/locale/de/LC_MESSAGES/django.po index 9b9982a..5da218d 100644 --- a/jdav_web/finance/locale/de/LC_MESSAGES/django.po +++ b/jdav_web/finance/locale/de/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-12-28 00:29+0100\n" +"POT-Creation-Date: 2024-12-28 01:22+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -136,7 +136,7 @@ msgstr "Finanzen" msgid "Name" msgstr "Name" -#: finance/models.py:30 finance/models.py:484 finance/models.py:545 +#: finance/models.py:30 finance/models.py:484 finance/models.py:547 #: finance/templates/admin/confirmed_statement.html:40 #: finance/templates/admin/overview_submitted_statement.html:100 msgid "Ledger" @@ -146,7 +146,7 @@ msgstr "Geldtopf" msgid "Ledgers" msgstr "Geldtöpfe" -#: finance/models.py:51 finance/models.py:420 finance/models.py:544 +#: finance/models.py:51 finance/models.py:420 finance/models.py:546 msgid "Short description" msgstr "Kurzbeschreibung" @@ -286,11 +286,11 @@ msgstr "Empfänger" msgid "Paid" msgstr "Bezahlt" -#: finance/models.py:539 +#: finance/models.py:541 msgid "Transaction" msgstr "Überweisung" -#: finance/models.py:540 +#: finance/models.py:542 #: finance/templates/admin/overview_submitted_statement.html:84 msgid "Transactions" msgstr "Überweisungen" @@ -326,11 +326,24 @@ msgstr "IBAN" msgid "QR Code" msgstr "QR Code" -#: finance/templates/admin/confirmed_statement.html:83 +#: finance/templates/admin/confirmed_statement.html:61 +#: finance/templates/admin/confirmed_statement.html:98 +msgid "Show" +msgstr "Anzeigen" + +#: finance/templates/admin/confirmed_statement.html:86 +msgid "No QR code can be displayed." +msgstr "Es kann kein QR-Code angezeigt werden." + +#: finance/templates/admin/confirmed_statement.html:99 +msgid "Showing" +msgstr "Sichtbar" + +#: finance/templates/admin/confirmed_statement.html:111 msgid "I did execute the listed transactions." msgstr "Ich habe die aufgeführten Überweisungen ausgeführt." -#: finance/templates/admin/confirmed_statement.html:85 +#: finance/templates/admin/confirmed_statement.html:113 msgid "Confirm" msgstr "Bestätigen" diff --git a/jdav_web/finance/templates/admin/confirmed_statement.html b/jdav_web/finance/templates/admin/confirmed_statement.html index 2e6350a..d769ba2 100644 --- a/jdav_web/finance/templates/admin/confirmed_statement.html +++ b/jdav_web/finance/templates/admin/confirmed_statement.html @@ -58,24 +58,52 @@ {{ transaction.ledger }} -
- + {% trans "Show" %} {% endfor %}

+ + + + + + +
{% csrf_token %}