|
|
@ -16,7 +16,7 @@ |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
<% pagy.series.each do |item| %> |
|
|
|
<% pagy.series.each do |item| %> |
|
|
|
<% if item == :gap %> |
|
|
|
<% if item == :gap %> |
|
|
|
<li class="app-pagination__item app-pagination__item--ellipses">...</li> |
|
|
|
<li class="app-pagination__item app-pagination__item--ellipses">…</li> |
|
|
|
<% elsif item.is_a?(String) %> |
|
|
|
<% elsif item.is_a?(String) %> |
|
|
|
<li class="app-pagination__item app-pagination__item--current"><span class="govuk-visually-hidden">Page </span><%= item %><span class="govuk-visually-hidden"> (current page) </span></li> |
|
|
|
<li class="app-pagination__item app-pagination__item--current"><span class="govuk-visually-hidden">Page </span><%= item %><span class="govuk-visually-hidden"> (current page) </span></li> |
|
|
|
<% else %> |
|
|
|
<% else %> |
|
|
|