From 3a4282fd75e3b3317b2b08b4aa2e6ac154310e73 Mon Sep 17 00:00:00 2001 From: Alexis Metaireau Date: Fri, 7 Jul 2017 00:06:56 +0200 Subject: Absolute imports & some other improvements (#243) * Use absolute imports and rename package to ihatemoney * Add a ihatemoney command * Factorize application creation logic * Refactor the tests * Update the wsgi.py module with the new create_app() function * Fix some styling thanks to Flake8. * Automate Flake8 check in the CI. --- budget/templates/dashboard.html | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 budget/templates/dashboard.html (limited to 'budget/templates/dashboard.html') 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 %} - - - - {% for project in projects|sort(attribute='name') %} - - - {% if project.has_bills() %} - - - {% else %} - - - {% endif %} - - {% endfor %} - -
{{ _("Project") }}{{ _("Number of members") }}{{ _("Number of bills") }}{{_("Newest bill")}}{{_("Oldest bill")}}
{{ project.name }}{{ project.members | count }}{{ project.get_bills().count() }}{{ project.get_bills().all()[0].date }}{{ project.get_bills().all()[-1].date }}
-{% endblock %} - -- cgit v1.1