Commit 563c55eb authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

fix pagination issue

parent bcc0eed3
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
%ul %ul
= prev_page_tag unless current_page.first? = prev_page_tag unless current_page.first?
- each_page do |page| - 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 = page_tag page
- elsif !page.was_truncated? - elsif !page.was_truncated?
= gap_tag = gap_tag
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
%nav.gitlab_pagination %nav.gitlab_pagination
= prev_page_tag = prev_page_tag
- each_page do |page| - 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 = page_tag page
- elsif !page.was_truncated? - elsif !page.was_truncated?
= gap_tag = gap_tag
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment