summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2018-04-17 17:13:54 -0500
committerClement Ho <ClemMakesApps@gmail.com>2018-04-17 17:13:54 -0500
commit02579d6aeba3673c950896bdb511df8c678e20ca (patch)
tree8ac6307ee07c98894d3518fc9131c0f361b95fab
parent47a1ea201eb055e42173ccef19ee12cfdda050b1 (diff)
downloadgitlab-ce-02579d6aeba3673c950896bdb511df8c678e20ca.tar.gz
Fix previous pagination link
-rw-r--r--app/views/kaminari/gitlab/_prev_page.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/kaminari/gitlab/_prev_page.html.haml b/app/views/kaminari/gitlab/_prev_page.html.haml
index e5907844fed..f4a11a449b7 100644
--- a/app/views/kaminari/gitlab/_prev_page.html.haml
+++ b/app/views/kaminari/gitlab/_prev_page.html.haml
@@ -9,4 +9,4 @@
- page_url = current_page.first? ? '#' : url
%li.page-item{ class: ('disabled' if current_page.first?) }
- = link_to raw(t 'views.pagination.next'), page_url, rel: 'next', remote: remote, class: 'page-link'
+ = link_to raw(t 'views.pagination.previous'), page_url, rel: 'prev', remote: remote, class: 'page-link'