Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_next_page.html.haml « gitlab « kaminari « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 05f151555ad93d2a61465ebb906c4dc4d595d7e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
-#  Link to the "Next" page
-#  available local variables
-#    url:           url to the next page
-#    current_page:  a page object for the currently displayed page
-#    total_pages:   total number of pages
-#    per_page:      number of items to fetch per page
-#    remote:        data-remote

- page_url = current_page.last? ? '#' : url

%li.page-item{ class: ('disabled' if current_page.last?) }
  = link_to raw(t 'views.pagination.next'), page_url, rel: 'next', remote: remote, class: 'page-link'