Skip to content

Commit 75b9b41

Browse files
Add pagination to patient vaccination history (#459)
This work was already done, but in a separate duplicate view. Moving it into the main view for this page so we don't forget about it.
1 parent 1c033fe commit 75b9b41

File tree

2 files changed

+19
-275
lines changed

2 files changed

+19
-275
lines changed

app/views/record-vaccinations/patient-history.html

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,25 @@ <h2 class="nhsuk-heading-m">Vaccination history</h2>
227227
]
228228
}) }}
229229

230+
{{ appPagination({
231+
nextUrl: "#",
232+
items: [
233+
{
234+
href: "#",
235+
number: 1,
236+
current: true
237+
},
238+
{
239+
href: "#",
240+
number: 2
241+
},
242+
{
243+
href: "#",
244+
number: 3
245+
}
246+
]
247+
}) }}
248+
230249

231250
<form action="{{ nextPage }}" method="post" novalidate>
232251
{{ button({

app/views/record-vaccinations/patient-history1.html

Lines changed: 0 additions & 275 deletions
This file was deleted.

0 commit comments

Comments
 (0)