From 79f24b7cb812f0fa0aa1b4bb82d23cbae87d540e Mon Sep 17 00:00:00 2001 From: Alexandre Avenel Date: Tue, 22 Jul 2014 20:19:35 +0200 Subject: Format numbers in templates --- budget/templates/list_bills.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'budget/templates/list_bills.html') diff --git a/budget/templates/list_bills.html b/budget/templates/list_bills.html index ee97624..f9d372a 100644 --- a/budget/templates/list_bills.html +++ b/budget/templates/list_bills.html @@ -73,8 +73,8 @@
{% endif %} - - {% if balance[member.id] > 0 %}+{% endif %}{{ balance[member.id] }} + + {% if balance[member.id] > 0 %}+{% endif %}{{ "%.2f" | format(balance[member.id]) }} {% endfor %} -- cgit v1.1