From 67316df3aa4f94656476586a7cc6eb34412da8be Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Thu, 11 Mar 2021 12:40:02 +0000 Subject: [PATCH] Repoint footer and homepage links MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Performance Platform is going away at 10am on Monday, so let’s point to our Performance Page instead. --- app/templates/admin_template.html | 2 +- app/templates/views/signedout.html | 2 +- tests/app/main/views/test_index.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/templates/admin_template.html b/app/templates/admin_template.html index a492c9716..f8de636a8 100644 --- a/app/templates/admin_template.html +++ b/app/templates/admin_template.html @@ -172,7 +172,7 @@ "text": "System status" }, { - "href": "https://www.gov.uk/performance/govuk-notify", + "href": url_for('main.performance'), "text": "Performance data" }, { diff --git a/app/templates/views/signedout.html b/app/templates/views/signedout.html index 4fc7ff2f6..3214b3e95 100644 --- a/app/templates/views/signedout.html +++ b/app/templates/views/signedout.html @@ -135,7 +135,7 @@

See the - list of services and organisations. + list of services and organisations.

diff --git a/tests/app/main/views/test_index.py b/tests/app/main/views/test_index.py index ea94317c7..db21a84bc 100644 --- a/tests/app/main/views/test_index.py +++ b/tests/app/main/views/test_index.py @@ -40,8 +40,8 @@ def test_non_logged_in_user_can_see_homepage( '9,999 services ' 'See the list of services and organisations.' ) - assert page.select_one('#whos-using-notify a')['href'] == ( - 'https://www.gov.uk/performance/govuk-notify/government-services' + assert page.select_one('#whos-using-notify a')['href'] == url_for( + 'main.performance' )