Mostly fixed the packages list, grid and detail views
This commit is contained in:
parent
43a8ea9dd3
commit
1c59a5ac74
7 changed files with 206 additions and 1 deletions
8
app/views/packages/_paginator.slim
Normal file
8
app/views/packages/_paginator.slim
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue