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
Léo-Paul Géneau
gitlab-ce
Commits
dc0f08f8
Commit
dc0f08f8
authored
Jun 22, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show also group members on project page at admin area
parent
6577d3a4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
app/controllers/admin/projects_controller.rb
app/controllers/admin/projects_controller.rb
+1
-0
app/views/admin/projects/show.html.haml
app/views/admin/projects/show.html.haml
+12
-0
No files found.
app/controllers/admin/projects_controller.rb
View file @
dc0f08f8
...
@@ -15,6 +15,7 @@ class Admin::ProjectsController < Admin::ApplicationController
...
@@ -15,6 +15,7 @@ class Admin::ProjectsController < Admin::ApplicationController
def
show
def
show
@repository
=
@project
.
repository
@repository
=
@project
.
repository
@group
=
@project
.
group
end
end
protected
protected
...
...
app/views/admin/projects/show.html.haml
View file @
dc0f08f8
...
@@ -74,6 +74,18 @@
...
@@ -74,6 +74,18 @@
%i
.icon-lock
%i
.icon-lock
Private
Private
.span6
.span6
-
if
@group
.ui-box
%h5
.title
%strong
#{
@group
.
name
}
Group
members (
#{
@group
.
users_groups
.
count
}
)
.pull-right
=
link_to
admin_group_path
(
@group
),
class:
'btn btn-small'
do
%i
.icon-edit
%ul
.well-list
-
@group
.
users_groups
.
order
(
'group_access DESC'
).
each
do
|
member
|
=
render
'users_groups/users_group'
,
member:
member
,
show_controls:
false
.ui-box
.ui-box
%h5
.title
%h5
.title
Team
Team
...
...
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