BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
9dd26749
Unverified
Commit
9dd26749
authored
Dec 09, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix only 20 group members showing on project member page
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
6213263d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
project_members_controller.rb
app/controllers/projects/project_members_controller.rb
+1
-1
_group_members.html.haml
app/views/projects/project_members/_group_members.html.haml
+1
-1
No files found.
app/controllers/projects/project_members_controller.rb
View file @
9dd26749
...
...
@@ -23,7 +23,7 @@ class Projects::ProjectMembersController < Projects::ApplicationController
@group_members
=
@group_members
.
where
(
user_id:
users
)
end
@group_members
=
@group_members
.
order
(
'access_level DESC'
)
.
limit
(
20
)
@group_members
=
@group_members
.
order
(
'access_level DESC'
)
end
@project_member
=
@project
.
project_members
.
new
...
...
app/views/projects/project_members/_group_members.html.haml
View file @
9dd26749
...
...
@@ -10,7 +10,7 @@
=
icon
(
'pencil-square-o'
)
Manage group members
%ul
.content-list
-
members
.
each
do
|
member
|
-
members
.
limit
(
20
).
each
do
|
member
|
=
render
'groups/group_members/group_member'
,
member:
member
,
show_controls:
false
-
if
members
.
count
>
20
%li
...
...
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