diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-17 18:50:53 +0300 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-17 18:50:53 +0300 |
commit | d43df58757cc027e99fdfa5e20688ba12c6bf32a (patch) | |
tree | 845f8eda0af4c40adc27a024f58903c77c10858f /app/views | |
parent | bb3d3e54265e0192661fb54f708342341b9bbd2d (diff) |
Fix pagination first and last page buttons
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/kaminari/gitlab/_first_page.html.haml | 2 | ||||
-rw-r--r-- | app/views/kaminari/gitlab/_last_page.html.haml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/kaminari/gitlab/_first_page.html.haml b/app/views/kaminari/gitlab/_first_page.html.haml index 1ea9218eb58..369165da02a 100644 --- a/app/views/kaminari/gitlab/_first_page.html.haml +++ b/app/views/kaminari/gitlab/_first_page.html.haml @@ -6,4 +6,4 @@ -# per_page: number of items to fetch per page -# remote: data-remote %li.first.page-item - = link_to_unless current_page.first?, raw(t 'views.pagination.first'), url, remote: remote + = link_to_unless current_page.first?, raw(t 'views.pagination.first'), url, remote: remote, class: 'page-link' diff --git a/app/views/kaminari/gitlab/_last_page.html.haml b/app/views/kaminari/gitlab/_last_page.html.haml index 07e9c915479..8b49db58281 100644 --- a/app/views/kaminari/gitlab/_last_page.html.haml +++ b/app/views/kaminari/gitlab/_last_page.html.haml @@ -6,4 +6,4 @@ -# per_page: number of items to fetch per page -# remote: data-remote %li.last.page-item - = link_to_unless current_page.last?, raw(t 'views.pagination.last'), url, {remote: remote} + = link_to_unless current_page.last?, raw(t 'views.pagination.last'), url, {remote: remote, class: 'page-link'} |