summaryrefslogtreecommitdiff
path: root/app/views/kaminari
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-31 08:55:31 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-31 08:55:31 +0200
commit563c55eb7e4db988048bd1b2675ee73e0e601402 (patch)
tree1b2206c30552785d472338d82be4c35883fbaba3 /app/views/kaminari
parentbcc0eed3e4565a346d15a17a90722ebb0c3cefab (diff)
downloadgitlab-ce-563c55eb7e4db988048bd1b2675ee73e0e601402.tar.gz
fix pagination issue
Diffstat (limited to 'app/views/kaminari')
-rw-r--r--app/views/kaminari/admin/_paginator.html.haml2
-rw-r--r--app/views/kaminari/gitlab/_paginator.html.haml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/kaminari/admin/_paginator.html.haml b/app/views/kaminari/admin/_paginator.html.haml
index 40b330feb3b..6f9fb332261 100644
--- a/app/views/kaminari/admin/_paginator.html.haml
+++ b/app/views/kaminari/admin/_paginator.html.haml
@@ -10,7 +10,7 @@
%ul
= prev_page_tag unless current_page.first?
- each_page do |page|
- - if page.left_outer? || page.pull-right_outer? || page.inside_window?
+ - if page.left_outer? || page.right_outer? || page.inside_window?
= page_tag page
- elsif !page.was_truncated?
= gap_tag
diff --git a/app/views/kaminari/gitlab/_paginator.html.haml b/app/views/kaminari/gitlab/_paginator.html.haml
index 2fe4c183d15..6dd5a5782a2 100644
--- a/app/views/kaminari/gitlab/_paginator.html.haml
+++ b/app/views/kaminari/gitlab/_paginator.html.haml
@@ -9,7 +9,7 @@
%nav.gitlab_pagination
= prev_page_tag
- each_page do |page|
- - if page.left_outer? || page.pull-right_outer? || page.inside_window?
+ - if page.left_outer? || page.right_outer? || page.inside_window?
= page_tag page
- elsif !page.was_truncated?
= gap_tag