Skip to content

Commit 9cdcb84

Browse files
Make link to child’s programme record more prominent on patient session page
1 parent 40fecc5 commit 9cdcb84

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

app/locales/en.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1149,7 +1149,7 @@ export const en = {
11491149
label: 'Session note'
11501150
},
11511151
patientProgramme: {
1152-
label: 'View %s record'
1152+
label: 'View child’s %s record'
11531153
},
11541154
consent: {
11551155
label: 'Consent status',

app/views/patient-session/_report.njk

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,10 @@
3333
],
3434
rows: vaccinationRows
3535
}) if patientSession.vaccinationOutcomes | length }}
36+
37+
{# Actions #}
38+
{{ actionLink({
39+
text: __("patientSession.patientProgramme.label", programme.nameSentenceCase),
40+
href: patient.uri + "/programmes/" + programme.id + "?referrer=" + referrer
41+
}) }}
3642
{% endcall %}

app/views/patient-session/show.njk

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@
4242
address: {}
4343
})
4444
}) }}
45-
46-
{{ link(patient.uri + "/programmes/" + programme.id + "?referrer=" + referrer, __("patientSession.patientProgramme.label", programme.nameSentenceCase)) | nhsukMarkdown }}
4745
</div>
4846

4947
<div class="app-grid-column-patient-session">

0 commit comments

Comments
 (0)