Replace will_paginate with kaminari. Fixed foodcoop/users page.
This commit is contained in:
parent
1708df3f6c
commit
ab81ef09d5
17 changed files with 162 additions and 64 deletions
11
app/views/kaminari/_gap.html.haml
Normal file
11
app/views/kaminari/_gap.html.haml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
-#
|
||||
Non-link tag that stands for skipped pages...
|
||||
- available local variables
|
||||
current_page: a page object for the currently displayed page
|
||||
num_pages: total number of pages
|
||||
per_page: number of items to fetch per page
|
||||
remote: data-remote
|
||||
|
||||
%li{:class => "page gap disabled"}
|
||||
%a{:href => "#", :onclick => "return false;"}
|
||||
= raw(t 'views.pagination.truncate')
|
||||
Loading…
Add table
Add a link
Reference in a new issue