From d897bd9e02ff5f315de01ebe64fec5851b5f354b Mon Sep 17 00:00:00 2001 From: Andy Mitchell <326561+Themitchell@users.noreply.github.com> Date: Thu, 8 Jan 2026 09:35:36 +0000 Subject: [PATCH] PPHA-478: Add non smoker dropout page content --- .../questions/jinja2/non_smoker_exit.jinja | 36 +++++++++++++++++-- tests/features/not_a_smoker_exit.feature | 2 +- 2 files changed, 35 insertions(+), 3 deletions(-) diff --git a/lung_cancer_screening/questions/jinja2/non_smoker_exit.jinja b/lung_cancer_screening/questions/jinja2/non_smoker_exit.jinja index cac5331e..b1b171bf 100644 --- a/lung_cancer_screening/questions/jinja2/non_smoker_exit.jinja +++ b/lung_cancer_screening/questions/jinja2/non_smoker_exit.jinja @@ -1,13 +1,45 @@ {% extends 'layout.jinja' %} {% from 'nhsuk/components/button/macro.jinja' import button %} {% from 'nhsuk/components/input/macro.jinja' import input %} +{% from 'nhsuk/components/back-link/macro.jinja' import backLink %} + +{% block beforeContent %} + +{% endblock beforeContent %} {% block content %}
-

You do not need an NHS lung health check

+

You are not eligible for lung cancer screening

+ +

NHS lung cancer screening is for people who have smoked or are current smokers.

+ +
+

Speak to a GP if:

+

You have any of the following symptoms:

+ +
    +
  • a cough that does not go away after 3 weeks
  • +
  • a long-standing cough that gets worse
  • +
  • chest infections that keep coming back
  • +
  • coughing up blood
  • +
  • an ache or pain when breathing or coughing
  • +
  • persistent breathlessness
  • +
  • persistent tiredness or lack of energy
  • +
  • loss of appetite or unexplained weight loss
  • +
+ +

They could be symptoms of lung cancer. Your GP will ask about your general health and your symptoms.

-

The NHS lung health check is for people who have smoked or are current smokers.

+

You may be asked to have a blood test to rule out some of the possible causes of your symptoms, such as a chest infection.

+
{% endblock %} diff --git a/tests/features/not_a_smoker_exit.feature b/tests/features/not_a_smoker_exit.feature index 73313878..1fce717a 100644 --- a/tests/features/not_a_smoker_exit.feature +++ b/tests/features/not_a_smoker_exit.feature @@ -5,4 +5,4 @@ Feature: Non smokers When I go to "/have-you-ever-smoked" And I fill in and submit my smoking status with "No, I have never smoked" Then I am on "/non-smoker-exit" - And I see a title "You do not need an NHS lung health check" + And I see a title "You are not eligible for lung cancer screening"