From 15cc7018c005599aec0bf683c74b179fb32216cb Mon Sep 17 00:00:00 2001 From: Herculino Trotta Date: Tue, 29 Oct 2024 13:42:02 -0300 Subject: [PATCH] feat: add cotton component for empty message --- app/templates/monthly_overview/fragments/list.html | 12 +++--------- app/templates/transactions/fragments/list_all.html | 12 +++--------- 2 files changed, 6 insertions(+), 18 deletions(-) diff --git a/app/templates/monthly_overview/fragments/list.html b/app/templates/monthly_overview/fragments/list.html index 9459bb5..2e1084f 100644 --- a/app/templates/monthly_overview/fragments/list.html +++ b/app/templates/monthly_overview/fragments/list.html @@ -34,15 +34,9 @@ {% empty %} -
-
-
- -

{% translate "No transactions this month" %}

-

{% translate "Try adding one" %}

-
-
-
+ {% endfor %}
diff --git a/app/templates/transactions/fragments/list_all.html b/app/templates/transactions/fragments/list_all.html index 744a753..aca3aa4 100644 --- a/app/templates/transactions/fragments/list_all.html +++ b/app/templates/transactions/fragments/list_all.html @@ -33,15 +33,9 @@
{% empty %} -
-
-
- -

{% translate "No transactions found" %}

-

{% translate "Try adding one" %}

-
-
-
+ {% endfor %} {% if page_obj.has_other_pages %}