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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2018-04-17 18:50:53 +0300
committerClement Ho <ClemMakesApps@gmail.com>2018-04-17 18:50:53 +0300
commitd43df58757cc027e99fdfa5e20688ba12c6bf32a (patch)
tree845f8eda0af4c40adc27a024f58903c77c10858f /app/views/kaminari
parentbb3d3e54265e0192661fb54f708342341b9bbd2d (diff)
Fix pagination first and last page buttons
Diffstat (limited to 'app/views/kaminari')
-rw-r--r--app/views/kaminari/gitlab/_first_page.html.haml2
-rw-r--r--app/views/kaminari/gitlab/_last_page.html.haml2
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'}