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
fd12e5c6
Unverified
Commit
fd12e5c6
authored
Feb 14, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dont render more than 20 group members on Project#members page
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
ea1e92a0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
_group_members.html.haml
app/views/projects/team_members/_group_members.html.haml
+6
-2
No files found.
app/views/projects/team_members/_group_members.html.haml
View file @
fd12e5c6
-
group_users_count
=
@group
.
users_groups
.
count
.ui-box
.title
%strong
#{
@group
.
name
}
group members (
#{
@group
.
users_groups
.
count
}
)
group members (
#{
group_users_
count
}
)
.pull-right
=
link_to
members_group_path
(
@group
),
class:
'btn btn-small'
do
%i
.icon-edit
%ul
.well-list
-
@group
.
users_groups
.
order
(
'group_access DESC'
).
each
do
|
member
|
-
@group
.
users_groups
.
order
(
'group_access DESC'
).
limit
(
20
).
each
do
|
member
|
=
render
'users_groups/users_group'
,
member:
member
,
show_controls:
false
-
if
group_users_count
>
20
%li
and
#{
group_users_count
-
20
}
more. For full list visit
#{
link_to
'group members page'
,
members_group_path
(
@group
)
}
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