Clearer links in paginator

This commit is contained in:
Christoph Haas 2021-02-14 18:01:46 +01:00
parent 3f0737c614
commit 953cd056aa

View file

@ -2,8 +2,8 @@
p
// Use different pagination navigators depending on the screen width
div.show-for-large
=will_paginate items, renderer: FoundationPagination::Rails, inner_window: 3, previous_label: '', next_label: ''
=will_paginate items, renderer: FoundationPagination::Rails, inner_window: 3, previous_label: 'Previous page', next_label: 'Next page'
div.show-for-medium-only
=will_paginate items, renderer: FoundationPagination::Rails, inner_window: 1, previous_label: '', next_label: ''
=will_paginate items, renderer: FoundationPagination::Rails, inner_window: 1, previous_label: 'Previous', next_label: 'Next'
div.show-for-small-only
=will_paginate items, renderer: FoundationPagination::Rails, page_links: false, previous_label: '', next_label: ''