Pagination layout fixed
This commit is contained in:
parent
2c67e321ba
commit
401c34f021
1 changed files with 4 additions and 3 deletions
|
|
@ -1,8 +1,9 @@
|
|||
p
|
||||
- if items.length>0
|
||||
// Use different pagination navigators depending on the screen width
|
||||
div.show-for-large
|
||||
=will_paginate items, :renderer => FoundationPagination::Rails, :inner_window => 3
|
||||
=will_paginate items, renderer: FoundationPagination::Rails, inner_window: 3, previous_label: '', next_label: ''
|
||||
div.show-for-medium-only
|
||||
=will_paginate items, :renderer => FoundationPagination::Rails, :inner_window => 1
|
||||
=will_paginate items, renderer: FoundationPagination::Rails, inner_window: 1, previous_label: '', next_label: ''
|
||||
div.show-for-small-only
|
||||
=will_paginate items, :renderer => FoundationPagination::Rails, :page_links => false
|
||||
=will_paginate items, renderer: FoundationPagination::Rails, page_links: false, previous_label: '', next_label: ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue