diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-10 14:56:58 -0500 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-10 14:56:58 -0500 |
commit | 917a4e7d3ed816e8648ac68223567d7cdadd757d (patch) | |
tree | d0fc8c6a39d3afb6630ff926ba68575d45a89a9d /app/views/kaminari | |
parent | ab0b894fd6780a441305ab7e0f85b3e9f57e8bb6 (diff) | |
download | gitlab-ce-917a4e7d3ed816e8648ac68223567d7cdadd757d.tar.gz |
[skip ci] Add pagination classes
Diffstat (limited to 'app/views/kaminari')
-rw-r--r-- | app/views/kaminari/gitlab/_without_count.html.haml | 8 |
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') |