Mostly fixed the packages list, grid and detail views

This commit is contained in:
Christoph Haas 2014-11-30 16:07:28 +01:00
parent 43a8ea9dd3
commit 1c59a5ac74
7 changed files with 206 additions and 1 deletions

View file

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