From 3511f8ad5bd1f91e6287cfd9ef68506b62a57f23 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Tue, 4 Jun 2019 17:15:31 +0100 Subject: [PATCH] Move organisations out of platform admin area MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It’s annoying having to go through the slow-to-load platform admin index page to get to organisations. And it makes more sense for them to be in the same place as other organisations and services that you can see. --- app/navigation.py | 2 +- app/templates/views/choose-account.html | 6 ++++++ app/templates/views/organisations/index.html | 16 ++++++++-------- .../views/platform-admin/_base_template.html | 1 - .../main/views/accounts/test_choose_accounts.py | 16 ++++++++++++++++ 5 files changed, 31 insertions(+), 10 deletions(-) diff --git a/app/navigation.py b/app/navigation.py index 82d73b849..2a2366d63 100644 --- a/app/navigation.py +++ b/app/navigation.py @@ -89,7 +89,6 @@ class HeaderNavigation(Navigation): 'letter_branding', 'live_services', 'live_services_csv', - 'organisations', 'performance_platform_xlsx', 'platform_admin', 'platform_admin_letter_validation_preview', @@ -214,6 +213,7 @@ class HeaderNavigation(Navigation): 'organisation_settings', 'organisation_preview_email_branding', 'organisation_preview_letter_branding', + 'organisations', 'privacy', 'public_agreement', 'public_download_agreement', diff --git a/app/templates/views/choose-account.html b/app/templates/views/choose-account.html index a205284c2..e277b289f 100644 --- a/app/templates/views/choose-account.html +++ b/app/templates/views/choose-account.html @@ -11,6 +11,12 @@