diff options
| author | Alexis Metaireau <alexis@notmyidea.org> | 2011-12-04 00:23:55 +0100 |
|---|---|---|
| committer | Alexis Metaireau <alexis@notmyidea.org> | 2011-12-04 00:23:55 +0100 |
| commit | 848e4a34ce6aea14baf7ade0463a7495d99b9294 (patch) | |
| tree | 01e4897fa85f26dffda190b279c2c9ef8305949f | |
| parent | 5c4178b3b5b86bb6323775aa9e483e22a2a52937 (diff) | |
| download | ihatemoney-mirror-848e4a34ce6aea14baf7ade0463a7495d99b9294.zip ihatemoney-mirror-848e4a34ce6aea14baf7ade0463a7495d99b9294.tar.gz ihatemoney-mirror-848e4a34ce6aea14baf7ade0463a7495d99b9294.tar.bz2 | |
Fix an error in dashboard.html
| -rw-r--r-- | budget/templates/dashboard.html | 4 |
1 files 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 @@ <tr> <td>{{ project.name }}</td><td>{{ project.members | count }}</td><td>{{ project.get_bills().count() }}</td> {% if project.has_bills() %} -<td>{{ project.get_bills()[0].date }}</td> -<td>{{ project.get_bills()[-1].date }}</td> +<td>{{ project.get_bills().all()[0].date }}</td> +<td>{{ project.get_bills().all()[-1].date }}</td> {% else %} <td></td> <td></td> |
