8 lines
438 B
Text
8 lines
438 B
Text
- if @packages.length>0
|
|
// Use different pagination navigators depending on the screen width
|
|
div.show-for-large-up
|
|
=will_paginate @packages, renderer: FoundationPagination::Rails, :inner_window => 3
|
|
div.show-for-medium-only
|
|
=will_paginate @packages, renderer: FoundationPagination::Rails, :inner_window => 1
|
|
div.show-for-small-only
|
|
=will_paginate @packages, renderer: FoundationPagination::Rails, :page_links => false
|