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/settle_bills.html | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 budget/templates/settle_bills.html (limited to 'budget/templates/settle_bills.html') diff --git a/budget/templates/settle_bills.html b/budget/templates/settle_bills.html deleted file mode 100644 index b67a9b8..0000000 --- a/budget/templates/settle_bills.html +++ /dev/null @@ -1,34 +0,0 @@ -{% extends "sidebar_table_layout.html" %} - -{% block sidebar %} -
- - {% set balance = g.project.balance %} - {% for member in g.project.members | sort(attribute='name') if member.activated or balance[member.id]|round(2) != 0 %} - - - - - {% endfor %} -
{{ member.name }} - {% if balance[member.id]|round(2) > 0 %}+{% endif %}{{ "%.2f" | format(balance[member.id]) }} -
-
-{% endblock %} - - -{% block content %} - - - - {% for bill in bills %} - - - - - - {% endfor %} - -
{{ _("Who pays?") }}{{ _("To whom?") }}{{ _("How much?") }}
{{ bill.ower }}{{ bill.receiver }}{{ "%0.2f"|format(bill.amount) }}
- -{% endblock %} -- cgit v1.1