fix pagination issue
This commit is contained in:
parent
bcc0eed3e4
commit
563c55eb7e
2 changed files with 2 additions and 2 deletions
|
@ -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 @@
|
||||||
%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
|
||||||
|
|
Loading…
Reference in a new issue