Skip to content

Commit 771aa7f

Browse files
authored
PPHA-747: Confirmation page content changes (#402)
# What is the change? Updating confirmation page to match design # Why are we making this change? So that the confirmation page is as UCD intended.
1 parent 1944003 commit 771aa7f

5 files changed

Lines changed: 43 additions & 11 deletions

File tree

features/confirmation.feature

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
@Confirmation
2+
Feature: Confirmation
3+
Scenario: Confirmation page has no accessibility violations
4+
Given I am logged in
5+
And I have recently submitted my responses
6+
When I go to "/start"
7+
And I click "Continue"
8+
Then I am on "/confirmation"
9+
And there are no accessibility violations

features/periods_when_you_stopped_smoking.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ Feature: Periods when you stopped smoking page
4141
Scenario: Checking responses and changing them
4242
Given I am logged in
4343
And I have answered questions showing I am eligible
44+
And I have answered questions showing I am a current smoker
4445
And I have answered questions showing I have smoked for "10" years
4546
When I go to "/periods-when-you-stopped-smoking"
4647
And I check "Yes"
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.nhsuk-panel__title--l .nhsuk-panel__title {
2+
font-size: 2.25rem;
3+
line-height: 1.1666666667;
4+
}

lung_cancer_screening/assets/sass/main.scss

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
// Components that are not in the NHS.UK frontend library
55
@forward "components/multi_field_input";
66

7-
@forward 'components/phase_banner';
8-
@forward "components/numbered_lists"
7+
@forward "components/numbered_lists";
8+
@forward "components/panel_title_shim";
9+
@forward "components/phase_banner";
10+
Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,72 @@
11
{% extends 'layout.jinja' %}
22
{% from "nhsuk/components/panel/macro.jinja" import panel %}
3+
{% from "nhsuk/components/button/macro.jinja" import button %}
34

45
{% block pageTitle %}Thank you for testing the online service - NHS{% endblock %}
56

67
{% block content %}
78
<div class="nhsuk-grid-row">
89
<div class="nhsuk-grid-column-two-thirds">
910
{{ panel({
10-
"titleText": "Thank you for testing the online service"
11+
"titleText": "Thank you for testing the online service",
12+
"classes": "nhsuk-panel__title--l",
1113
}) }}
1214

1315
<section>
14-
<h2>What happens next</h2>
15-
<p>The online service cannot currently recommend if you need a lung scan.</p>
16-
<p>You will need to complete your questionnaire for NHS lung cancer screening by phone.</p>
16+
<h2 class="nhsuk-heading-m">What happens next</h2>
17+
18+
<p>You will need to complete your NHS lung cancer screening by phone.</p>
1719

1820
<p>Call us on {% include '_phone_number.jinja' %}.</p>
1921

22+
<p>An advisor will ask you similar questions about your medical history and lifestyle.
23+
They will not have access to the answers you have submitted online.
24+
This is because we are testing the online service.</p>
25+
2026
<p>
21-
<strong>Opening hours:</strong><br/>
27+
<strong>Phone lines are open:</strong><br/>
2228
Monday to Friday 8am to 8pm<br/>
2329
Saturdays 8am to 1pm
2430
</p>
2531

26-
<p>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.</p>
32+
<p>If we do not hear from you in 14 days we will call you to complete the questionnaire by phone.
33+
If you are unable to answer the phone we will call you back.</p>
2734

2835
<p>As a thank you for testing the online service we will offer you a £10 voucher after you have completed your phone appointment.</p>
2936
</section>
3037

3138
{% include "_speak_to_a_gp_if.jinja" %}
3239

3340
<section>
34-
<h2>Find your local Stop Smoking Service</h2>
41+
<h2 class="nhsuk-heading-m">Find your local Stop Smoking Service</h2>
3542
<p>Stopping smoking is the single biggest change you can make for your health. <a href="https://www.nhs.uk/better-health/quit-smoking/ready-to-quit-smoking/find-your-local-stop-smoking-service/" target="_blank">Find local services to help you stop smoking.</a></p>
3643
</section>
3744

3845
<section>
39-
<h2>Benefits of stopping smoking</h2>
46+
<h2 class="nhsuk-heading-m">Benefits of stopping smoking</h2>
4047
<p>Stopping smoking is a great way to stay healthy, protect the health of those around you, and enjoy a better quality of life.</p>
4148
</section>
4249

4350
{% include "_when_you_quit_you.jinja" %}
4451

4552
<section>
46-
<h2>It's never too late to stop</h2>
53+
<h2 class="nhsuk-heading-m">It's never too late to stop</h2>
4754
<p>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.</p>
4855
</section>
4956

5057
{% include "_when_you_stop_smoking_in.jinja" %}
5158
{% include "_to_help_stop_smoking.jinja" %}
5259
{% include "_smoking_anxiety_and_mood.jinja" %}
5360
{% include "_for_free_help_and_support.jinja" %}
61+
62+
<section>
63+
<h2 class="nhsuk-heading-m">Help us improve this service</h2>
64+
<p>Tell us about your experience using this service today.</p>
65+
{{ button({
66+
"text": "Give feedback",
67+
"href": "https://feedback.digital.nhs.uk/jfe/form/SV_6V8dAlFT0sxJnzo"
68+
})}}
69+
</section>
5470
</div>
5571
</div>
5672
{% endblock %}

0 commit comments

Comments
 (0)