From 5b34e410213ac01d557a139d6fa338ca7296140c Mon Sep 17 00:00:00 2001 From: "Edgar P. Burkhart" Date: Tue, 18 Apr 2023 11:25:58 +0200 Subject: [PATCH] Update links --- nummi/main/locale/fr/LC_MESSAGES/django.mo | Bin 2557 -> 2798 bytes nummi/main/locale/fr/LC_MESSAGES/django.po | 44 ++++++++++-------- nummi/main/static/main/css/index.css | 9 ++-- nummi/main/static/main/css/main.css | 4 ++ nummi/main/templates/main/index.html | 12 ++--- nummi/main/templates/main/table/snapshot.html | 10 ++++ .../templates/main/table/transaction.html | 10 ++++ 7 files changed, 57 insertions(+), 32 deletions(-) diff --git a/nummi/main/locale/fr/LC_MESSAGES/django.mo b/nummi/main/locale/fr/LC_MESSAGES/django.mo index 0c4e7035e2488f19057f462f08953e8dc39d0f61..54df9d0ed2ddcc99c0588c858c0ee148773f89a8 100644 GIT binary patch delta 1351 zcmYk6OK4L;6ow~l`n2`Y7_Igd?aQ{l(xzYwLbal}sVGwL0TT2s0=J3g-nJshT?k?~ zZbU>WZWN1H3z~%>)P;&0-E^g*xDi~cD>qg2`)@|gA!ojsGiS~@^SJpH`x*~EHAJr) zWDspeUq*~M0NrvLz&;4G|$cj0RI5blQ0U?u!%SzcjGE#q1!|2Wk8R)~w~ zDvkrwM@I_>;0iblwQxVw!o#oz9=GE&Pyr^O0_N@b0#uy9+Al+`ziRC_to=6RXYSEN zO<>GC9VLDQ>)|3?1z$rI@&T@eU*LMU43#)WHWk(cRZu5X0lhRzoP?SmhKjQfD$gNn zKOsB$jYEf@IZGplX}Atvf_3l~RDwB3ZZi*K@G*?TS8#-D`)KVgWT$JAP=)S-jc^3+ zg~#mtEDYpuhmI0IfU5KfROQd162F1+Te9}|Q2w7SzgaFronRGRwa{(y@6 z8>;X+s!>6WI)4?=&Pa}ZP=QiViAJI3kJ|Z@Pyrmvb5LK+MHpU{wa-EAv;cLLPoeyl zAU73?zPN<$zqdFJ9kd$-l60dx3jap`f2eJKluq?sN(|ddXIF2ik+SqdQTZioOCpD2c8|qTRANGoXQ$F1XS5IeD`g z-Hz%+?B9!07hiFcI)%aLP^8(JPI!LWcP5;yZ^jt;`E=GxpY}7k>@~OIUC($1W7>89 zyLslHt;E?Yj8-m`b&TaEr=0X;BJa4))QkHj9J{Vl8n^Jhx;~N`&t>unKR4+mT*v$C OPi$-UF>0bTh4}+I95tIGB&zqSy^P4yCz5QAGQ>=aI%iRjfZek7b zFcWbQD~mW#_T?h_u!@WED0blqT!v?G45zRYpCs$pO??i%{w+HG1M-VTyIzY=oH+11 z7H}RNxPT7KbVTH_8?E;vT``1CIFjmRbe_@Fz8AfIJhdNA?Z=Q`OmfIYE#fpMCO(TM zzJUFB8CT+UG|?k;A+zWLUZ4qIqKV$5{`crS4Rqdbsr^T4|Ba5zaww2L@|>)|682yP zO;AOyjd9%1V>yIH>eH--)3}2!>^_G9oWTivjrQkQmHh>DAw_gy!|08av1Xz@oOoe1 zbsRtk97&!`p2H=yUqmOkf{wd}PJ9DRd^fc}NIph>@r;8vIETIXu8aM50Uv4beQTmG z)mL1Kzi<_rZ7mEUO;JTBnm`wN99_UEbV29Q>!#3oE}`>YP5rl1|Ghl>?*ub6=yUWd zc!ehToZ9EnJ6k}W#J{qQv*oE~BFhHCo7!oGvc660=wluvT%2E(?_X>pc3Ghe6B~)m z1i4zf;+>ZXOO_ZV))5x(YCBP}@?UA~8g<_n%j!0*7uu~a5hKKyFPLR3;j?uY{4a1j mhlm}7UxVAag>V<#A$Mn>KAo#(ZZ\n" "Language-Team: edpibu \n" @@ -35,14 +35,14 @@ msgstr "Utilisateur" #: .\main\models.py:45 .\main\models.py:79 .\main\models.py:87 #: .\main\models.py:237 .\main\templates\main\base.html:39 -#: .\main\templates\main\table\snapshot.html:23 -#: .\main\templates\main\table\transaction.html:32 +#: .\main\templates\main\table\snapshot.html:33 +#: .\main\templates\main\table\transaction.html:42 msgid "Account" msgstr "Compte" #: .\main\models.py:45 .\main\models.py:97 .\main\models.py:208 #: .\main\models.py:278 .\main\templates\main\table\invoice.html:9 -#: .\main\templates\main\table\transaction.html:25 +#: .\main\templates\main\table\transaction.html:35 msgid "Name" msgstr "Nom" @@ -61,7 +61,7 @@ msgstr "Comptes" #: .\main\models.py:97 .\main\models.py:121 .\main\models.py:227 #: .\main\templates\main\base.html:49 #: .\main\templates\main\plot\category.html:14 -#: .\main\templates\main\table\transaction.html:29 +#: .\main\templates\main\table\transaction.html:39 msgid "Category" msgstr "Catégorie" @@ -90,7 +90,7 @@ msgstr "Valeur de fin" msgid "Start value" msgstr "Valeur de début" -#: .\main\models.py:141 .\main\templates\main\table\snapshot.html:26 +#: .\main\models.py:141 .\main\templates\main\table\snapshot.html:36 msgid "Difference" msgstr "Différence" @@ -127,13 +127,13 @@ msgstr "Transaction" msgid "Description" msgstr "Description" -#: .\main\models.py:212 .\main\templates\main\table\snapshot.html:25 -#: .\main\templates\main\table\transaction.html:26 +#: .\main\models.py:212 .\main\templates\main\table\snapshot.html:35 +#: .\main\templates\main\table\transaction.html:36 msgid "Value" msgstr "Valeur" -#: .\main\models.py:214 .\main\templates\main\table\snapshot.html:21 -#: .\main\templates\main\table\transaction.html:24 +#: .\main\models.py:214 .\main\templates\main\table\snapshot.html:31 +#: .\main\templates\main\table\transaction.html:34 msgid "Date" msgstr "Date" @@ -141,7 +141,7 @@ msgstr "Date" msgid "Real date" msgstr "Date réelle" -#: .\main\models.py:217 .\main\templates\main\table\transaction.html:27 +#: .\main\models.py:217 .\main\templates\main\table\transaction.html:37 msgid "Trader" msgstr "Commerçant" @@ -155,7 +155,7 @@ msgstr "Paiement" #: .\main\templates\main\list\transaction.html:6 #: .\main\templates\main\list\transaction.html:23 #: .\main\templates\main\snapshot_form.html:39 -#: .\main\templates\main\table\snapshot.html:27 +#: .\main\templates\main\table\snapshot.html:37 msgid "Transactions" msgstr "Transactions" @@ -242,17 +242,21 @@ msgstr "Aucune facture" msgid "New invoice" msgstr "Nouvelle facture" -#~ msgid "New statement" -#~ msgstr "Nouveau relevé" +#: .\main\templates\main\table\snapshot.html:5 +msgid "New statement" +msgstr "Nouveau relevé" -#~ msgid "View all statements" -#~ msgstr "Voir tous les relevés" +#: .\main\templates\main\table\snapshot.html:10 +msgid "View all statements" +msgstr "Voir tous les relevés" -#~ msgid "New transaction" -#~ msgstr "Ajouter une transaction" +#: .\main\templates\main\table\transaction.html:6 +msgid "New transaction" +msgstr "Nouvelle transaction" -#~ msgid "View all transactions" -#~ msgstr "Voir toutes les transactions" +#: .\main\templates\main\table\transaction.html:11 +msgid "View all transactions" +msgstr "Voir toutes les transactions" #~ msgid "Valid" #~ msgstr "Valide" diff --git a/nummi/main/static/main/css/index.css b/nummi/main/static/main/css/index.css index f900910..ae42038 100644 --- a/nummi/main/static/main/css/index.css +++ b/nummi/main/static/main/css/index.css @@ -12,12 +12,9 @@ h1 img { margin-right: var(--gap); } -#categories > a, -#accounts > a { - display: inline-block; - padding: 1em; +a.big-link { + margin-right: 1em; } -#categories > a > i, -#accounts > a > i { +a.big-link > i { margin-right: .5rem; } diff --git a/nummi/main/static/main/css/main.css b/nummi/main/static/main/css/main.css index 552e652..9c85c75 100644 --- a/nummi/main/static/main/css/main.css +++ b/nummi/main/static/main/css/main.css @@ -53,9 +53,13 @@ h1 { margin: 0; } +p { + line-height: 2em; +} a { color: var(--text-link); text-decoration: none; + display: inline-block; } a:hover { text-decoration: underline; diff --git a/nummi/main/templates/main/index.html b/nummi/main/templates/main/index.html index 96ca5bd..18495c5 100644 --- a/nummi/main/templates/main/index.html +++ b/nummi/main/templates/main/index.html @@ -18,11 +18,11 @@ {% if accounts %}

{% translate "Accounts" %}

{% spaceless %} -
+

{% for acc in accounts %} - {{ acc }} + {{ acc }} {% endfor %} -

+

{% endspaceless %} {% endif %} {% if transactions %} @@ -34,11 +34,11 @@ {% if categories %}

{% translate "Categories" %}

{% spaceless %} -
+

{% for cat in categories %} - {{ cat }} + {{ cat }} {% endfor %} -

+

{% endspaceless %} {% endif %} {% if snapshots %} diff --git a/nummi/main/templates/main/table/snapshot.html b/nummi/main/templates/main/table/snapshot.html index c07e6bd..7039cb5 100644 --- a/nummi/main/templates/main/table/snapshot.html +++ b/nummi/main/templates/main/table/snapshot.html @@ -1,5 +1,15 @@ {% load main_extras %} {% load i18n %} +{% if new_snapshot_url %} +

+ {% translate "New statement" %} +

+{% endif %} +{% if snapshots_url %} +

+ {% translate "View all statements" %} +

+{% endif %}
diff --git a/nummi/main/templates/main/table/transaction.html b/nummi/main/templates/main/table/transaction.html index c21adbe..227becc 100644 --- a/nummi/main/templates/main/table/transaction.html +++ b/nummi/main/templates/main/table/transaction.html @@ -1,6 +1,16 @@ {% load main_extras %} {% load i18n %}
+ {% if new_transaction_url %} +

+ {% translate "New transaction" %} +

+ {% endif %} + {% if transactions_url %} +

+ {% translate "View all transactions" %} +

+ {% endif %}