diff options
Diffstat (limited to 'budget')
| -rw-r--r-- | budget/templates/dashboard.html | 11 |
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 %} + |
