aboutsummaryrefslogtreecommitdiff
path: root/budget
diff options
context:
space:
mode:
authorAlexis Metaireau <alexis@notmyidea.org>2011-12-03 16:15:17 +0100
committerAlexis Metaireau <alexis@notmyidea.org>2011-12-03 16:15:25 +0100
commit79cbd72c03326080c69e6b708203ed65a68dff16 (patch)
treecb5498a351d552d085c8fad5ed636d687d536b60 /budget
parent3a2958a44ea6bc5cf452f2e75f9eb372ee0d513d (diff)
downloadihatemoney-mirror-79cbd72c03326080c69e6b708203ed65a68dff16.zip
ihatemoney-mirror-79cbd72c03326080c69e6b708203ed65a68dff16.tar.gz
ihatemoney-mirror-79cbd72c03326080c69e6b708203ed65a68dff16.tar.bz2
oops, forgot to include dashboard.html in a previous commit. See #42
Diffstat (limited to 'budget')
-rw-r--r--budget/templates/dashboard.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/budget/templates/dashboard.html b/budget/templates/dashboard.html
new file mode 100644
index 0000000..a65bd76
--- /dev/null
+++ b/budget/templates/dashboard.html
@@ -0,0 +1,11 @@
+{% extends "layout.html" %}
+{% 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>
+ <tbody>{% for project in projects %}
+ <tr><td>{{ project.name }}</td><td>{{ project.members | count }}</td><td>{{ project.get_bills().count() }}</td></tr>
+ {% endfor %}</tbody>
+</table>
+{% endblock %}
+