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 %}- {% translate "New statement" %} -
- {% endif %}+ {% 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 %}- {% translate "New transaction" %} -
- {% endif %}