aboutsummaryrefslogtreecommitdiff
path: root/budget/templates/dashboard.html
diff options
context:
space:
mode:
Diffstat (limited to 'budget/templates/dashboard.html')
-rw-r--r--budget/templates/dashboard.html21
1 files changed, 0 insertions, 21 deletions
diff --git a/budget/templates/dashboard.html b/budget/templates/dashboard.html
deleted file mode 100644
index 3f50915..0000000
--- a/budget/templates/dashboard.html
+++ /dev/null
@@ -1,21 +0,0 @@
-{% extends "layout.html" %}
-{% block content %}
-
-<table id="bill_table" class="table table-striped">
- <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|sort(attribute='name') %}
- <tr class="{{ loop.cycle("odd", "even") }}">
- <td>{{ project.name }}</td><td>{{ project.members | count }}</td><td>{{ project.get_bills().count() }}</td>
- {% if project.has_bills() %}
- <td>{{ project.get_bills().all()[0].date }}</td>
- <td>{{ project.get_bills().all()[-1].date }}</td>
- {% else %}
- <td></td>
- <td></td>
- {% endif %}
- </tr>
- {% endfor %}
- </tbody>
-</table>
-{% endblock %}
-