[skip ci] Add pagination classes

This commit is contained in:
Clement Ho 2018-04-10 14:56:58 -05:00
parent ab0b894fd6
commit 917a4e7d3e

View file

@ -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')