Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions app/views/patient-session/_consent.njk
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

{% call card({
heading: __("patientSession.consent.title", programme.nameSentenceCase),
headingLevel: 3
headingSize: "m"
}) %}
{# Description #}
{% if not isVaccinated %}
Expand Down Expand Up @@ -42,7 +42,7 @@
{% if patientSession.replies | length %}
{# Requests with responses or requests that couldn’t be delivered #}
{{ appHeading({
level: 4,
level: 3,
size: "s",
title: __("patientSession.replies.responses") if patientSession.responses.length > 0 else __("patientSession.replies.requests")
}) }}
Expand All @@ -52,8 +52,7 @@
card: {
classes: "app-card--compact app-card--offset",
heading: reply.fullNameAndRelationship,
headingLevel: 5,
headingSize: "s",
headingLevel: 4,
href: reply.uri if reply.delivered,
actions: {
items: [
Expand Down Expand Up @@ -90,7 +89,7 @@
{# We don’t create replies so use parent details instead #}

{{ appHeading({
level: 4,
level: 3,
size: "s",
title: __("patientSession.replies.pending")
}) }}
Expand All @@ -100,7 +99,7 @@
card: {
classes: "app-card--compact app-card--offset",
heading: parent.fullNameAndRelationship,
headingLevel: 5
headingLevel: 4
},
rows: summaryRows(parent, {
tel: {},
Expand All @@ -126,7 +125,7 @@
heading: __mf("healthAnswers.count", {
count: patientSession.answersNeedingTriageCount
}),
headingLevel: 3
headingSize: "m"
},
classes: "app-summary-list--full-width",
rows: healthAnswerRows(patientSession.consentHealthAnswers)
Expand Down
2 changes: 1 addition & 1 deletion app/views/patient-session/_gillick.njk
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{% call card({
heading: __("patientSession.gillick.title"),
headingLevel: 3
headingSize: "m"
}) %}
{# Description #}
{% if patientSession.gillick %}
Expand Down
2 changes: 1 addition & 1 deletion app/views/patient-session/_instruct.njk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{ card({
heading: __("patientSession.instruct.title"),
headingLevel: 3,
headingSize: "m",
description: patientSession.status.instruct.text
}) }}
1 change: 0 additions & 1 deletion app/views/patient-session/_record.njk
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

{% call card({
heading: heading | safe,
headingLevel: 3,
headingSize: "m"
}) %}
{{ radios({
Expand Down
2 changes: 1 addition & 1 deletion app/views/patient-session/_register.njk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% call card({
heading: __("patientSession.register.title"),
headingLevel: 3
headingSize: "m"
}) %}
{# Description #}
{{ patientSession.registerNotes | nhsukMarkdown }}
Expand Down
2 changes: 1 addition & 1 deletion app/views/patient-session/_report.njk
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
feature: true,
heading: programme.name + ": " + (patientSession.patientProgramme.status | lower),
headingClasses: "app-card__heading--" + patientSession.patientProgramme.statusColour,
headingLevel: 3
headingSize: "m"
}) %}
{# Description #}
{{ patientSession.reportNotes | nhsukMarkdown }}
Expand Down
2 changes: 1 addition & 1 deletion app/views/patient-session/_triage.njk
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{% call card({
heading: __("patientSession.screen.title", programme.nameSentenceCase),
headingLevel: 3
headingSize: "m"
}) %}
{# Description #}
{{ patientSession.screenNotes | nhsukMarkdown }}
Expand Down