diff options
| author | Alexis Metaireau <alexis@notmyidea.org> | 2017-02-15 20:42:48 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-02-15 20:42:48 +0100 |
| commit | 3dd7c67ecf5e2c5d21ec387bbd82e0fa3b90ad5b (patch) | |
| tree | f15a0a568faf6ea5e0c14abcef274f0c658c4b3f /budget/web.py | |
| parent | bb5ad597f5b1f20e741be0b8ac1f54c1538df4a3 (diff) | |
| parent | 57596b5f46555b2163c849c83f97ac5d779d9b25 (diff) | |
| download | ihatemoney-mirror-3dd7c67ecf5e2c5d21ec387bbd82e0fa3b90ad5b.zip ihatemoney-mirror-3dd7c67ecf5e2c5d21ec387bbd82e0fa3b90ad5b.tar.gz ihatemoney-mirror-3dd7c67ecf5e2c5d21ec387bbd82e0fa3b90ad5b.tar.bz2 | |
Merge pull request #172 from JocelynDelalande/jd-bootstrap-4
WIP: Upgrade to bootstrap 4
Diffstat (limited to 'budget/web.py')
| -rw-r--r-- | budget/web.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/budget/web.py b/budget/web.py index 67ff31f..28ed344 100644 --- a/budget/web.py +++ b/budget/web.py @@ -284,7 +284,8 @@ def list_bills(): return render_template("list_bills.html", bills=bills, member_form=MemberForm(g.project), bill_form=bill_form, - add_bill=request.values.get('add_bill', False) + add_bill=request.values.get('add_bill', False), + current_view="list_bills", ) @@ -414,7 +415,11 @@ def change_lang(lang): def settle_bill(): """Compute the sum each one have to pay to each other and display it""" bills = g.project.get_transactions_to_settle_bill() - return render_template("settle_bills.html", bills=bills) + return render_template( + "settle_bills.html", + bills=bills, + current_view='settle_bill', + ) @main.route("/<project_id>/archives/create", methods=["GET", "POST"]) |
