From d43df58757cc027e99fdfa5e20688ba12c6bf32a Mon Sep 17 00:00:00 2001 From: Clement Ho Date: Tue, 17 Apr 2018 10:50:53 -0500 Subject: Fix pagination first and last page buttons --- app/views/kaminari/gitlab/_first_page.html.haml | 2 +- app/views/kaminari/gitlab/_last_page.html.haml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'app') 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'} -- cgit v1.2.3