Skip to content

Commit 36cf3c6

Browse files
Add link for rescheduling appointment
1 parent cb5df84 commit 36cf3c6

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

app/views/participants/show.html

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ <h2 class="nhsuk-heading-m">Appointment</h2>
4949
},
5050
value: {
5151
text: clinic.clinicType | formatWords | sentenceCase
52+
},
53+
actions: {
54+
items: [
55+
56+
]
5257
}
5358
},
5459
{
@@ -57,6 +62,15 @@ <h2 class="nhsuk-heading-m">Appointment</h2>
5762
},
5863
value: {
5964
text: event.statusHistory[0].timestamp | formatTime
65+
},
66+
actions: {
67+
items: [
68+
{
69+
href: "#",
70+
text: "Reschedule appointment",
71+
visuallyHiddenText: "name"
72+
} if event.status == "scheduled"
73+
]
6074
}
6175
},
6276
{
@@ -65,6 +79,11 @@ <h2 class="nhsuk-heading-m">Appointment</h2>
6579
},
6680
value: {
6781
html: statusHtml
82+
},
83+
actions: {
84+
items: [
85+
86+
]
6887
}
6988
}
7089
]

0 commit comments

Comments
 (0)