lib/templates/nav_foundation.html.slim in pagy-0.19.4 vs lib/templates/nav_foundation.html.slim in pagy-0.20.0
- old
+ new
@@ -20,16 +20,13 @@
- if item.is_a?(Integer) # page link
li == link.call(item)
- elsif item.is_a?(String) # current page
li.current
- span.show-for-sr
- == pagy_t('pagy.nav.current')
= item
- elsif item == :gap # page gap
- li.disabled.gap
- == pagy_t('pagy.nav.gap')
+ li.ellipsis.gap aria-hidden="true"
- if pagy.next
li.next == link.call(pagy.next, pagy_t('pagy.nav.next'), 'aria-label="next"')
- else
li.next.disabled