From ebf705a20f992e681e5eb9c891cae6542d6133f6 Mon Sep 17 00:00:00 2001 From: Tinmn Date: Sun, 20 Nov 2011 16:32:48 +0100 Subject: [PATCH] Bill owers are now separated with a ',' in the bill list. --- budget/templates/list_bills.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/budget/templates/list_bills.html b/budget/templates/list_bills.html index 5e3bcd4c..74923e29 100644 --- a/budget/templates/list_bills.html +++ b/budget/templates/list_bills.html @@ -158,7 +158,7 @@ {{ bill.date }} {{ bill.payer }} {{ bill.what }} - {% for ower in bill.owers %}{{ ower.name }} {% endfor %} + {{ bill.owers|join(', ', 'name') }} {{ "%0.2f"|format(bill.amount) }} ({{ "%0.2f"|format(bill.pay_each()) }} {{ _("each") }})