From 71ad48fd7906f34a276c82ecd0d86f24f336cbf3 Mon Sep 17 00:00:00 2001 From: Jamie Falcus <50366804+jamiefalcus@users.noreply.github.com> Date: Tue, 24 Mar 2026 16:29:04 +0000 Subject: [PATCH 1/3] Updates to make confirmation match design --- features/confirmation.feature | 10 ++++++ .../sass/components/_panel_title_shim.scss | 4 +++ lung_cancer_screening/assets/sass/main.scss | 6 ++-- .../questions/jinja2/confirmation.jinja | 34 ++++++++++++++----- 4 files changed, 43 insertions(+), 11 deletions(-) create mode 100644 features/confirmation.feature create mode 100644 lung_cancer_screening/assets/sass/components/_panel_title_shim.scss diff --git a/features/confirmation.feature b/features/confirmation.feature new file mode 100644 index 00000000..1e93f478 --- /dev/null +++ b/features/confirmation.feature @@ -0,0 +1,10 @@ +@Confirmation +Feature: Confirmation + +Scenario: Confirmation page has no accessibility violations + Given I am logged in + And I have recently submitted my responses + When I go to "/start" + And I click "Continue" + Then I am on "/confirmation" + And there are no accessibility violations diff --git a/lung_cancer_screening/assets/sass/components/_panel_title_shim.scss b/lung_cancer_screening/assets/sass/components/_panel_title_shim.scss new file mode 100644 index 00000000..3251ef8a --- /dev/null +++ b/lung_cancer_screening/assets/sass/components/_panel_title_shim.scss @@ -0,0 +1,4 @@ +.nhsuk-panel__title--l .nhsuk-panel__title { + font-size: 2.25rem; + line-height: 1.1666666667; +} diff --git a/lung_cancer_screening/assets/sass/main.scss b/lung_cancer_screening/assets/sass/main.scss index e4f283da..eac948d4 100644 --- a/lung_cancer_screening/assets/sass/main.scss +++ b/lung_cancer_screening/assets/sass/main.scss @@ -4,5 +4,7 @@ // Components that are not in the NHS.UK frontend library @forward "components/multi_field_input"; -@forward 'components/phase_banner'; -@forward "components/numbered_lists" +@forward "components/numbered_lists"; +@forward "components/panel_title_shim"; +@forward "components/phase_banner"; + diff --git a/lung_cancer_screening/questions/jinja2/confirmation.jinja b/lung_cancer_screening/questions/jinja2/confirmation.jinja index d88a26ed..26787d15 100644 --- a/lung_cancer_screening/questions/jinja2/confirmation.jinja +++ b/lung_cancer_screening/questions/jinja2/confirmation.jinja @@ -1,5 +1,6 @@ {% extends 'layout.jinja' %} {% from "nhsuk/components/panel/macro.jinja" import panel %} +{% from "nhsuk/components/button/macro.jinja" import button %} {% block pageTitle %}Thank you for testing the online service - NHS{% endblock %} @@ -7,23 +8,29 @@
The online service cannot currently recommend if you need a lung scan.
-You will need to complete your questionnaire for NHS lung cancer screening by phone.
+You will need to complete your NHS lung cancer screening by phone.
Call us on {% include '_phone_number.jinja' %}.
+An advisor will ask you similar questions about your medical history and lifestyle. + They will not have access to the answers you have submitted online. + This is because we are testing the online service.
+
- Opening hours:
+ Phone lines are open:
Monday to Friday 8am to 8pm
Saturdays 8am to 1pm
If we do not hear from you in 14 days we will call you to complete the questionnaire by phone. If you are unable to answer the phone we will call you back.
+If we do not hear from you in 14 days we will call you to complete the questionnaire by phone. + If you are unable to answer the phone we will call you back.
As a thank you for testing the online service we will offer you a £10 voucher after you have completed your phone appointment.
Stopping smoking is the single biggest change you can make for your health. Find local services to help you stop smoking.
Stopping smoking is a great way to stay healthy, protect the health of those around you, and enjoy a better quality of life.
When you stop smoking, your body can repair itself sooner than you might think. It does not matter how old you are, or how long you have smoked.
Tell us about your experience using this service today.
+ {{ button({ + "text": "Give feedback", + "href": "https://feedback.digital.nhs.uk/jfe/form/SV_6V8dAlFT0sxJnzo" + }) }} +Tell us about your experience using this service today.
{{ button({ - "text": "Give feedback", - "href": "https://feedback.digital.nhs.uk/jfe/form/SV_6V8dAlFT0sxJnzo" - }) }} + "text": "Give feedback", + "href": "https://feedback.digital.nhs.uk/jfe/form/SV_6V8dAlFT0sxJnzo" + })}} From f8e8c1cba5621c65fec794e15edd1d4bff5cfddc Mon Sep 17 00:00:00 2001 From: Jamie Falcus <50366804+jamiefalcus@users.noreply.github.com> Date: Tue, 24 Mar 2026 18:02:15 +0000 Subject: [PATCH 3/3] Fix to periods when stopped smoking feature --- features/periods_when_you_stopped_smoking.feature | 1 + 1 file changed, 1 insertion(+) diff --git a/features/periods_when_you_stopped_smoking.feature b/features/periods_when_you_stopped_smoking.feature index f1b72be9..24887cf4 100644 --- a/features/periods_when_you_stopped_smoking.feature +++ b/features/periods_when_you_stopped_smoking.feature @@ -41,6 +41,7 @@ Feature: Periods when you stopped smoking page Scenario: Checking responses and changing them Given I am logged in And I have answered questions showing I am eligible + And I have answered questions showing I am a current smoker And I have answered questions showing I have smoked for "10" years When I go to "/periods-when-you-stopped-smoking" And I check "Yes"