I'm assuming the following from the current design, which has the first 5 pages, a gap, then the final page
1 page or no results (display nothing)
Less than 5 pages (display all)
6 pages (display all?)
Greater than 6 pages, 1st page selected (display 1st 5 ... final page)
Greater than 6 pages, somewhere in middle selected (display 1st ... middle 5 (selected in center) ... final page)
Greater than 6 pages, final page selected (display 1st page ... last 5 pages)
Looks like 5 of the immediate pages listed, then ... then the final page. Assuming also first page ... to 2 away from the current selected page.
Only display Previous and Next buttons if those pages exist
This task is part of #133: incorporating HSES staging data in the complaint tracker
This task is scoped to: