From d5b7fe739b82cc51da4557b90ebb360848d891c1 Mon Sep 17 00:00:00 2001 From: Huda Baig Date: Thu, 10 Nov 2022 10:35:51 +0300 Subject: [PATCH] showing only unarchived bills --- ihatemoney/templates/list_bills.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ihatemoney/templates/list_bills.html b/ihatemoney/templates/list_bills.html index 0445d99d..5f057a2a 100644 --- a/ihatemoney/templates/list_bills.html +++ b/ihatemoney/templates/list_bills.html @@ -102,6 +102,7 @@ {% if bills.total > 0 %} +

Active Bills

{% for (weights, bill) in bills.items %} + {% if bill.archive == false %} + {% endif %} {% endfor %}
{{ _("When?") }} @@ -113,6 +114,7 @@
+
+ {{ csrf_form.csrf_token }} + +
{% if bill.external_link %} {{ _('show') }} {% endif %}
@@ -169,4 +176,5 @@ {% endif %} + archived {% endblock %}