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-10 22:56:58 +0300
committerClement Ho <ClemMakesApps@gmail.com>2018-04-10 22:56:58 +0300
commit917a4e7d3ed816e8648ac68223567d7cdadd757d (patch)
treed0fc8c6a39d3afb6630ff926ba68575d45a89a9d /app/views/kaminari
parentab0b894fd6780a441305ab7e0f85b3e9f57e8bb6 (diff)
[skip ci] Add pagination classes
Diffstat (limited to 'app/views/kaminari')
-rw-r--r--app/views/kaminari/gitlab/_without_count.html.haml8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/kaminari/gitlab/_without_count.html.haml b/app/views/kaminari/gitlab/_without_count.html.haml
index 250029c4475..1425a809052 100644
--- a/app/views/kaminari/gitlab/_without_count.html.haml
+++ b/app/views/kaminari/gitlab/_without_count.html.haml
@@ -1,8 +1,8 @@
.gl-pagination
%ul.pagination.clearfix
- if previous_path
- %li.prev
- = link_to(t('views.pagination.previous'), previous_path, rel: 'prev')
+ %li.page-item.prev
+ = link_to(t('views.pagination.previous'), previous_path, rel: 'prev', class: 'page-link')
- if next_path
- %li.next
- = link_to(t('views.pagination.next'), next_path, rel: 'next')
+ %li.page-item.next
+ = link_to(t('views.pagination.next'), next_path, rel: 'next', class: 'page-link')