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 new file mode 100644 index 0000000..cb154c1 --- /dev/null +++ b/app/prototype_v4/content/paused.md @@ -0,0 +1,19 @@ +--- +title: Sorry, the service is unavailable +hidePhaseBanner: true +hideFooterLinks: true +--- + +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. + +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. diff --git a/app/prototype_v4/controllers/content.js b/app/prototype_v4/controllers/content.js index f39b40b..c636942 100644 --- a/app/prototype_v4/controllers/content.js +++ b/app/prototype_v4/controllers/content.js @@ -70,3 +70,5 @@ exports.contact = renderContent('contact') 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 ba44352..3ede37a 100644 --- a/app/prototype_v4/routes.js +++ b/app/prototype_v4/routes.js @@ -206,6 +206,10 @@ router.get(`/prototype_${version}/privacy-policy`, contentController.privacy) 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) }} {#