diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-05-24 23:18:18 +0300 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-05-24 23:18:18 +0300 |
commit | e512ea96ae6f562d90e32707e1789e92b75cf580 (patch) | |
tree | 69f45c5dc4b24a46f5b10537a57cb2a371d28d30 /app/views/kaminari | |
parent | 33b787ee81598836cab88aae01cc293716e28393 (diff) |
Replace data-test=page with .js-pagination-page
Diffstat (limited to 'app/views/kaminari')
-rw-r--r-- | app/views/kaminari/gitlab/_page.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/kaminari/gitlab/_page.html.haml b/app/views/kaminari/gitlab/_page.html.haml index b3ed43df1be..8a40e13a537 100644 --- a/app/views/kaminari/gitlab/_page.html.haml +++ b/app/views/kaminari/gitlab/_page.html.haml @@ -6,5 +6,5 @@ -# total_pages: total number of pages -# per_page: number of items to fetch per page -# remote: data-remote -%li.page-item{ class: [active_when(page.current?), ('sibling' if page.next? || page.prev?)], data: { test: 'page' } } +%li.page-item.js-pagination-page{ class: [active_when(page.current?), ('sibling' if page.next? || page.prev?)] } = link_to page, url, { remote: remote, rel: page.next? ? 'next' : page.prev? ? 'prev' : nil, class: 'page-link' } |