Browse Source

Merge pull request #479 from communitiesuk/proper-elipsis

Use proper elipsis
pull/480/head
Paul Robert Lloyd 3 years ago committed by GitHub
parent
commit
913bda41bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/views/pagy/_nav.html.erb

2
app/views/pagy/_nav.html.erb

@ -16,7 +16,7 @@
</li>
<% pagy.series.each do |item| %>
<% 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) %>
<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 %>

Loading…
Cancel
Save