foodcoop-adam/foodsoft

View on GitHub
app/views/kaminari/_gap.html.haml

Summary

Maintainability
Test Coverage
-#
  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')