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

_paginator.html.haml « kaminari « ci « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 07fdb1e08a68d40382ff673c60d8af529df62c3c (plain)
1
2
3
4
5
6
7
8
9
10
11
= paginator.render do
  %ul.pagination
    = first_page_tag unless current_page.first?
    = prev_page_tag unless current_page.first?
    - each_page do |page|
      - if page.left_outer? || page.right_outer? || page.inside_window?
        = page_tag page
      - elsif !page.was_truncated?
        = gap_tag
    = next_page_tag unless current_page.last?
    = last_page_tag unless current_page.last?