From 4d0264d19622b265ad6528bd166a3eb8000d206f Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Thu, 11 Mar 2021 13:30:38 +0000 Subject: [PATCH] Switch org and service order on home page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This matches what’s on the performance page – orgs on the left, services on the right. --- app/templates/views/signedout.html | 10 +++++----- tests/app/main/views/test_index.py | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/templates/views/signedout.html b/app/templates/views/signedout.html index 4f6e6467a..4fc7ff2f6 100644 --- a/app/templates/views/signedout.html +++ b/app/templates/views/signedout.html @@ -122,16 +122,16 @@

Who’s using GOV.UK Notify

-
-

Services

-
{{ counts.services|format_thousands }}
- services -

Organisations

{{ counts.organisations|format_thousands }}
organisations
+
+

Services

+
{{ counts.services|format_thousands }}
+ services +

See the diff --git a/tests/app/main/views/test_index.py b/tests/app/main/views/test_index.py index c4b0dcc5d..ea94317c7 100644 --- a/tests/app/main/views/test_index.py +++ b/tests/app/main/views/test_index.py @@ -34,10 +34,10 @@ def test_non_logged_in_user_can_see_homepage( assert normalize_spaces(page.select_one('#whos-using-notify').text) == ( 'Who’s using GOV.UK Notify ' - 'Services ' - '9,999 services ' 'Organisations ' '111 organisations ' + 'Services ' + '9,999 services ' 'See the list of services and organisations.' ) assert page.select_one('#whos-using-notify a')['href'] == (