From 45d542862b1e363a643942622c1f68bfd833a88f Mon Sep 17 00:00:00 2001 From: Simon Whatley Date: Tue, 19 May 2026 09:42:06 +0100 Subject: [PATCH 1/3] Create service paused page --- app/prototype_v4/content/paused.md | 19 +++++++++++++++++++ app/prototype_v4/controllers/content.js | 1 + app/prototype_v4/routes.js | 2 ++ 3 files changed, 22 insertions(+) create mode 100644 app/prototype_v4/content/paused.md diff --git a/app/prototype_v4/content/paused.md b/app/prototype_v4/content/paused.md new file mode 100644 index 0000000..4143b75 --- /dev/null +++ b/app/prototype_v4/content/paused.md @@ -0,0 +1,19 @@ +--- +title: Sorry, the service is unavailable +--- + +You will be able to use the service from 3pm on Tuesday, 5 May 2026. + +If you reached this page after submitting information then it has not been saved. You will need to enter it again when the service is available. + +You can complete your NHS lung cancer screening by phone instead. + +Call us on {{ serviceTelephone | telephoneLink }} + +**Phone lines are open:** +Monday to Friday 8am to 8pm +Saturdays 8am to 1pm + +Once you have completed your NHS lung cancer screening by phone you cannot test the online service. + +{# If you have any questions, email england.digitallungcancerscreening@nhs.net. #} diff --git a/app/prototype_v4/controllers/content.js b/app/prototype_v4/controllers/content.js index f39b40b..282b6dc 100644 --- a/app/prototype_v4/controllers/content.js +++ b/app/prototype_v4/controllers/content.js @@ -70,3 +70,4 @@ exports.contact = renderContent('contact') exports.cookies = renderContent('cookies') exports.privacy = renderContent('privacy') exports.terms = renderContent('terms') +exports.paused = renderContent('paused') diff --git a/app/prototype_v4/routes.js b/app/prototype_v4/routes.js index ba44352..af57938 100644 --- a/app/prototype_v4/routes.js +++ b/app/prototype_v4/routes.js @@ -206,6 +206,8 @@ router.get(`/prototype_${version}/privacy-policy`, contentController.privacy) router.get(`/prototype_${version}/terms-of-use`, contentController.terms) +router.get(`/prototype_${version}/paused`, contentController.paused) + /// ------------------------------------------------------------------------ /// /// Error pages /// ------------------------------------------------------------------------ /// From 02676a3349dbba3a51a5137d0dac0a55ce19df90 Mon Sep 17 00:00:00 2001 From: Simon Whatley Date: Tue, 19 May 2026 09:59:41 +0100 Subject: [PATCH 2/3] Remove time --- app/prototype_v4/content/paused.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/prototype_v4/content/paused.md b/app/prototype_v4/content/paused.md index 4143b75..ac81b11 100644 --- a/app/prototype_v4/content/paused.md +++ b/app/prototype_v4/content/paused.md @@ -2,7 +2,7 @@ title: Sorry, the service is unavailable --- -You will be able to use the service from 3pm on Tuesday, 5 May 2026. +You will be able to use the service from Tuesday, 5 May 2026. If you reached this page after submitting information then it has not been saved. You will need to enter it again when the service is available. From 27bbdf6a442541d88f6d0903f8c5cc148969a670 Mon Sep 17 00:00:00 2001 From: Simon Whatley Date: Wed, 20 May 2026 16:57:49 +0100 Subject: [PATCH 3/3] Update service paused and closed pages --- app/prototype_v4/content/closed.md | 15 +++++++++++++++ app/prototype_v4/content/paused.md | 4 ++-- app/prototype_v4/controllers/content.js | 1 + app/prototype_v4/routes.js | 2 ++ app/prototype_v4/views/layouts/main.html | 4 ++-- 5 files changed, 22 insertions(+), 4 deletions(-) create mode 100644 app/prototype_v4/content/closed.md diff --git a/app/prototype_v4/content/closed.md b/app/prototype_v4/content/closed.md new file mode 100644 index 0000000..b612e68 --- /dev/null +++ b/app/prototype_v4/content/closed.md @@ -0,0 +1,15 @@ +--- +title: Sorry, the service is unavailable +hidePhaseBanner: true +hideFooterLinks: true +--- + +The online service has closed. + +If you reached this page after submitting information then it has not been saved. + +Call us on {{ serviceTelephone | telephoneLink }} to complete your lung cancer screening. + +**Phone lines are open:** +Monday to Friday 8am to 8pm +Saturdays 8am to 1pm diff --git a/app/prototype_v4/content/paused.md b/app/prototype_v4/content/paused.md index ac81b11..cb154c1 100644 --- a/app/prototype_v4/content/paused.md +++ b/app/prototype_v4/content/paused.md @@ -1,5 +1,7 @@ --- title: Sorry, the service is unavailable +hidePhaseBanner: true +hideFooterLinks: true --- You will be able to use the service from Tuesday, 5 May 2026. @@ -15,5 +17,3 @@ Monday to Friday 8am to 8pm Saturdays 8am to 1pm Once you have completed your NHS lung cancer screening by phone you cannot test the online service. - -{# If you have any questions, email england.digitallungcancerscreening@nhs.net. #} diff --git a/app/prototype_v4/controllers/content.js b/app/prototype_v4/controllers/content.js index 282b6dc..c636942 100644 --- a/app/prototype_v4/controllers/content.js +++ b/app/prototype_v4/controllers/content.js @@ -71,3 +71,4 @@ exports.cookies = renderContent('cookies') exports.privacy = renderContent('privacy') exports.terms = renderContent('terms') exports.paused = renderContent('paused') +exports.closed = renderContent('closed') diff --git a/app/prototype_v4/routes.js b/app/prototype_v4/routes.js index af57938..3ede37a 100644 --- a/app/prototype_v4/routes.js +++ b/app/prototype_v4/routes.js @@ -208,6 +208,8 @@ router.get(`/prototype_${version}/terms-of-use`, contentController.terms) router.get(`/prototype_${version}/paused`, contentController.paused) +router.get(`/prototype_${version}/closed`, contentController.closed) + /// ------------------------------------------------------------------------ /// /// Error pages /// ------------------------------------------------------------------------ /// diff --git a/app/prototype_v4/views/layouts/main.html b/app/prototype_v4/views/layouts/main.html index 8e4853a..7669701 100755 --- a/app/prototype_v4/views/layouts/main.html +++ b/app/prototype_v4/views/layouts/main.html @@ -44,7 +44,7 @@ }) }} -{% if not hidePhaseBanner %} +{% if not (hidePhaseBanner or contentData.hidePhaseBanner) %}
@@ -89,7 +89,7 @@ } ] } -}) if not hideFooterLinks }} +}) if not (hideFooterLinks or contentData.hideFooterLinks) }} {#