Skip to content

Commit 6839162

Browse files
committed
Consistent heaading sizes in the clinic booking journey
Start page and final confirmation page have XL-sized main headings, so the subheadings are accordingly L-sized. Elsewhere, it's L-size at the top level.
1 parent 0a2fa1f commit 6839162

16 files changed

Lines changed: 19 additions & 46 deletions

app/views/book-into-a-clinic/form/address.njk

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66
{% call fieldset({
77
legend: {
88
html: appHeading({
9-
classes: "nhsuk-fieldset__legend--l",
109
title: title,
11-
caption: __("clinicBooking.appointment.caption", fullName) if transaction.childCount > 1
10+
caption: __("clinicBooking.appointment.caption", fullName) if childCount > 1
1211
})
1312
}
1413
}) %}

app/views/book-into-a-clinic/form/adjustments.njk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
fieldset: {
1111
legend: {
1212
html: appHeading({
13-
classes: "nhsuk-fieldset__legend--l",
1413
title: title,
1514
caption: __("clinicBooking.healthAnswers.caption", fullName) if childCount > 1
1615
})

app/views/book-into-a-clinic/form/appointment-time-range.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
{% block form %}
66
{{ appHeading({
77
title: title,
8-
caption: __("clinicBooking.appointment.caption", fullName) if transaction.childCount > 1
8+
caption: __("clinicBooking.appointment.caption", fullName) if childCount > 1
99
}) }}
1010

1111
{#

app/views/book-into-a-clinic/form/clinic-date.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
{% block form %}
66
{{ appHeading({
77
title: title,
8-
caption: __("clinicBooking.appointment.caption", fullName) if transaction.childCount > 1
8+
caption: __("clinicBooking.appointment.caption", fullName) if childCount > 1
99
}) }}
1010

1111
{{ __("clinicBooking.clinicDate.location") | nhsukMarkdown }}

app/views/book-into-a-clinic/form/clinic-location.njk

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@
77
fieldset: {
88
legend: {
99
html: appHeading({
10-
classes: "nhsuk-fieldset__legend--l",
1110
title: title,
12-
caption: __("clinicBooking.appointment.caption", fullName) if transaction.childCount > 1
11+
caption: __("clinicBooking.appointment.caption", fullName) if childCount > 1
1312
})
1413
}
1514
},

app/views/book-into-a-clinic/form/confirmation.njk

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919
</p>
2020
{% endcall %}
2121

22-
<h2>What happens next?</h2>
22+
<h2 class="nhsuk-heading-l">
23+
What happens next?
24+
</h2>
2325

2426
<p>
2527
If you entered an email address, you’ll get a confirmation email with your booking details.
@@ -31,7 +33,9 @@
3133
Doing this ahead of the clinic will save time on the day.
3234
</p>
3335

34-
<h2>Help us to improve this service</h2>
36+
<h2 class="nhsuk-heading-l">
37+
Help us to improve this service
38+
</h2>
3539

3640
<p>
3741
Are you willing to answer some questions about your visit today? This typically takes around 2 minutes.

app/views/book-into-a-clinic/form/dob.njk

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@
77
fieldset: {
88
legend: {
99
html: appHeading({
10-
classes: "nhsuk-fieldset__legend--l",
1110
title: title,
12-
caption: __("clinicBooking.appointment.caption", fullName) if transaction.childCount > 1
11+
caption: __("clinicBooking.appointment.caption", fullName) if childCount > 1
1312
})
1413
}
1514
},

app/views/book-into-a-clinic/form/extra-time.njk

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@
1414
fieldset: {
1515
legend: {
1616
html: appHeading({
17-
classes: "nhsuk-fieldset__legend--l",
1817
title: title,
19-
caption: __("clinicBooking.appointment.caption", fullName) if transaction.childCount > 1
18+
caption: __("clinicBooking.appointment.caption", fullName) if childCount > 1
2019
})
2120
}
2221
},

app/views/book-into-a-clinic/form/health-question.njk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
{% call fieldset({
1010
legend: {
1111
html: appHeading({
12-
classes: "nhsuk-fieldset__legend--l",
1312
title: title | replace('the child', 'your child'),
1413
caption: __("clinicBooking.healthAnswers.caption", fullName) if childCount > 1
1514
})

app/views/book-into-a-clinic/form/impairments.njk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
fieldset: {
88
legend: {
99
html: appHeading({
10-
classes: "nhsuk-fieldset__legend--l",
1110
title: title,
1211
caption: __("clinicBooking.healthAnswers.caption", fullName) if childCount > 1
1312
})

0 commit comments

Comments
 (0)