From a21f655f185b4caef39b9f92b5e143b11fed53c1 Mon Sep 17 00:00:00 2001 From: "Edgar P. Burkhart" Date: Tue, 18 Apr 2023 16:57:05 +0200 Subject: [PATCH] Improve mobile design --- nummi/main/templates/main/table/snapshot.html | 20 +++++++++---------- .../templates/main/table/transaction.html | 20 +++++++++---------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/nummi/main/templates/main/table/snapshot.html b/nummi/main/templates/main/table/snapshot.html index 67bed0c..1b609aa 100644 --- a/nummi/main/templates/main/table/snapshot.html +++ b/nummi/main/templates/main/table/snapshot.html @@ -1,11 +1,11 @@ {% load main_extras %} {% load i18n %} +{% if new_snapshot_url %} +

+ {% translate "New statement" %} +

+{% endif %}
- {% if new_snapshot_url %} -

- {% translate "New statement" %} -

- {% endif %} @@ -62,9 +62,9 @@ {% endfor %}
- {% if snapshots_url %} -

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

- {% 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 d4c91a5..35db948 100644 --- a/nummi/main/templates/main/table/transaction.html +++ b/nummi/main/templates/main/table/transaction.html @@ -1,11 +1,11 @@ {% load main_extras %} {% load i18n %} +{% if new_transaction_url %} +

+ {% translate "New transaction" %} +

+{% endif %}
- {% if new_transaction_url %} -

- {% translate "New transaction" %} -

- {% endif %} @@ -77,9 +77,9 @@ {% endfor %}
- {% if transactions_url %} -

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

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

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

+{% endif %}