[skip ci] Add pagination classes
This commit is contained in:
parent
ab0b894fd6
commit
917a4e7d3e
1 changed files with 4 additions and 4 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue