Pagination improvements (#1445)
* Replace will_paginate with kaminari * Use #page instead of #paginate in controllers * Replace will_paginate.page_gap with pagination.truncate in i18n * Customize kaminari views to match prior styles * Set kaminari options to match prior behavior * Replace will_paginate with paginate in views
Showing
- Gemfile 1 addition, 1 deletionGemfile
- Gemfile.lock 13 additions, 2 deletionsGemfile.lock
- app/assets/stylesheets/accounts.scss 6 additions, 6 deletionsapp/assets/stylesheets/accounts.scss
- app/controllers/accounts_controller.rb 2 additions, 2 deletionsapp/controllers/accounts_controller.rb
- app/controllers/admin/accounts_controller.rb 1 addition, 1 deletionapp/controllers/admin/accounts_controller.rb
- app/controllers/admin/domain_blocks_controller.rb 1 addition, 1 deletionapp/controllers/admin/domain_blocks_controller.rb
- app/controllers/admin/pubsubhubbub_controller.rb 1 addition, 1 deletionapp/controllers/admin/pubsubhubbub_controller.rb
- app/controllers/admin/reports_controller.rb 1 addition, 1 deletionapp/controllers/admin/reports_controller.rb
- app/helpers/accounts_helper.rb 0 additions, 12 deletionsapp/helpers/accounts_helper.rb
- app/views/accounts/followers.html.haml 1 addition, 1 deletionapp/views/accounts/followers.html.haml
- app/views/accounts/following.html.haml 1 addition, 1 deletionapp/views/accounts/following.html.haml
- app/views/accounts/show.html.haml 1 addition, 1 deletionapp/views/accounts/show.html.haml
- app/views/admin/accounts/index.html.haml 1 addition, 1 deletionapp/views/admin/accounts/index.html.haml
- app/views/admin/domain_blocks/index.html.haml 1 addition, 1 deletionapp/views/admin/domain_blocks/index.html.haml
- app/views/admin/pubsubhubbub/index.html.haml 1 addition, 1 deletionapp/views/admin/pubsubhubbub/index.html.haml
- app/views/admin/reports/index.html.haml 1 addition, 1 deletionapp/views/admin/reports/index.html.haml
- app/views/kaminari/_next_page.html.haml 9 additions, 0 deletionsapp/views/kaminari/_next_page.html.haml
- app/views/kaminari/_paginator.html.haml 16 additions, 0 deletionsapp/views/kaminari/_paginator.html.haml
- app/views/kaminari/_prev_page.html.haml 9 additions, 0 deletionsapp/views/kaminari/_prev_page.html.haml
- app/views/tags/show.html.haml 1 addition, 1 deletionapp/views/tags/show.html.haml
Loading
Please register or sign in to comment