aboutsummaryrefslogtreecommitdiff
path: root/budget/templates
diff options
context:
space:
mode:
authorA.Avenel <avenel.alexandre@gmail.com>2011-12-03 17:40:50 +0100
committerA.Avenel <avenel.alexandre@gmail.com>2011-12-03 17:40:50 +0100
commit0633b153f604d973d1b8a6b5c25d9b048a3de0bb (patch)
tree841428ffc5a6ca331d99622500d86daa83e5650f /budget/templates
parentb1665770e844e930a7dd4c11598c2a8e66aa0909 (diff)
downloadihatemoney-mirror-0633b153f604d973d1b8a6b5c25d9b048a3de0bb.zip
ihatemoney-mirror-0633b153f604d973d1b8a6b5c25d9b048a3de0bb.tar.gz
ihatemoney-mirror-0633b153f604d973d1b8a6b5c25d9b048a3de0bb.tar.bz2
Small commit to add more informations in dashboard view.
Diffstat (limited to 'budget/templates')
-rw-r--r--budget/templates/dashboard.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/budget/templates/dashboard.html b/budget/templates/dashboard.html
index a65bd76..44ece2d 100644
--- a/budget/templates/dashboard.html
+++ b/budget/templates/dashboard.html
@@ -2,9 +2,9 @@
{% block content %}
<table id="bill_table" class="list_bills common-table zebra-striped">
- <thead><tr><th>{{ _("Project") }}</th><th>{{ _("Number of members") }}</th><th>{{ _("Number of bills") }}</th></tr></thead>
+ <thead><tr><th>{{ _("Project") }}</th><th>{{ _("Number of members") }}</th><th>{{ _("Number of bills") }}</th><th>{{_("Newest bill")}}</th><th>{{_("Oldest bill")}}</th></tr></thead>
<tbody>{% for project in projects %}
- <tr><td>{{ project.name }}</td><td>{{ project.members | count }}</td><td>{{ project.get_bills().count() }}</td></tr>
+ <tr><td>{{ project.name }}</td><td>{{ project.members | count }}</td><td>{{ project.get_bills().count() }}</td><td>{{ project.get_bills()[1].date }}</td><td>{{ project.get_bills()[-1].date }}</tr>
{% endfor %}</tbody>
</table>
{% endblock %}