]> git.plutz.net Git - confetti/commitdiff
link to ledgers from cards
authorPaul Hänsch <paul@plutz.net>
Mon, 13 May 2024 18:56:19 +0000 (20:56 +0200)
committerPaul Hänsch <paul@plutz.net>
Mon, 13 May 2024 18:56:19 +0000 (20:56 +0200)
cards/list.sh
l10n.sh

index 9511fc1d015001a1dbdb2cf9a92dde6e84ed8be1..e12d760f5c0a2fa7c0b08182cc7c979716720736 100755 (executable)
@@ -104,6 +104,7 @@ print_card(){
         $(card_item "$card" CATEGORIES)
       ]
       [div .control
+        [a .button .item href="${_BASE}/ledgers/account.sh?card=${cardfile##*/}" $(l10n ledger)]
         [a .button .item href="${_BASE}/cards/edit_card.sh?card=${cardfile##*/}" $(l10n edit)]
         [a .button .item href="${_BASE}/cards/export_card.sh?card=${cardfile##*/}" $(l10n vcf_export)]
       ]
diff --git a/l10n.sh b/l10n.sh
index d9e01d070ec63d00806cdee2d052763801dad0b7..9780a09d3fb2683a71c5cec206c45dc552201772 100755 (executable)
--- a/l10n.sh
+++ b/l10n.sh
@@ -85,6 +85,7 @@ l10n_global() {
     edit) printf %s "Bearbeiten";;
     edit_categories) printf %s "Kategorien Bearbeiten";;
     vcf_export) printf %s "Vcard Exportieren";;
+    ledger) printf %s "Buchungen";;
     control) printf %s "Aktionen";;
     delete) printf %s "entfernen";;
     edit_update) printf %s "Daten übernehmen";;