From eaa7af86923b3840135dfb5fb96a0507fa84f463 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Thu, 21 Mar 2019 11:22:53 +0000 Subject: [PATCH] Make navigating organisations a bit easier --- app/main/views/organisations.py | 3 ++- app/templates/org_nav.html | 2 +- app/templates/org_template.html | 4 +++ .../views/organisations/add-organisation.html | 2 +- app/templates/views/organisations/index.html | 6 +++-- .../organisations/organisation/index.html | 8 ++---- .../organisation/settings/index.html | 4 +-- .../test_organisation_invites.py | 25 ++++++++++--------- tests/app/test_navigation.py | 2 +- 9 files changed, 30 insertions(+), 26 deletions(-) diff --git a/app/main/views/organisations.py b/app/main/views/organisations.py index 288588e92..b7b0d67db 100644 --- a/app/main/views/organisations.py +++ b/app/main/views/organisations.py @@ -39,7 +39,8 @@ def organisations(): return render_template( 'views/organisations/index.html', - organisations=orgs + organisations=orgs, + search_form=SearchByNameForm(), ) diff --git a/app/templates/org_nav.html b/app/templates/org_nav.html index 5544d4ec2..4c44b4892 100644 --- a/app/templates/org_nav.html +++ b/app/templates/org_nav.html @@ -1,6 +1,6 @@