From 848e4a34ce6aea14baf7ade0463a7495d99b9294 Mon Sep 17 00:00:00 2001 From: Alexis Metaireau Date: Sun, 4 Dec 2011 00:23:55 +0100 Subject: [PATCH] Fix an error in dashboard.html --- budget/templates/dashboard.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/budget/templates/dashboard.html b/budget/templates/dashboard.html index 796f4f4..e9c92dd 100644 --- a/budget/templates/dashboard.html +++ b/budget/templates/dashboard.html @@ -7,8 +7,8 @@ {{ project.name }}{{ project.members | count }}{{ project.get_bills().count() }} {% if project.has_bills() %} -{{ project.get_bills()[0].date }} -{{ project.get_bills()[-1].date }} +{{ project.get_bills().all()[0].date }} +{{ project.get_bills().all()[-1].date }} {% else %}