Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
iv
gitlab-ce
Commits
563c55eb
Commit
563c55eb
authored
Jan 31, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix pagination issue
parent
bcc0eed3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/views/kaminari/admin/_paginator.html.haml
app/views/kaminari/admin/_paginator.html.haml
+1
-1
app/views/kaminari/gitlab/_paginator.html.haml
app/views/kaminari/gitlab/_paginator.html.haml
+1
-1
No files found.
app/views/kaminari/admin/_paginator.html.haml
View file @
563c55eb
...
@@ -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
...
...
app/views/kaminari/gitlab/_paginator.html.haml
View file @
563c55eb
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment