debshots/app/views/packages/_paginator.slim

8 lines
428 B
Text

- 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
div.show-for-medium-only
=will_paginate items, :renderer => FoundationPagination::Rails, :inner_window => 1
div.show-for-small-only
=will_paginate items, :renderer => FoundationPagination::Rails, :page_links => false