BigW Consortium Gitlab

Commit dc0f08f8 by Dmitriy Zaporozhets

Show also group members on project page at admin area

parent 6577d3a4
......@@ -15,6 +15,7 @@ class Admin::ProjectsController < Admin::ApplicationController
def show
@repository = @project.repository
@group = @project.group
end
protected
......
......@@ -74,6 +74,18 @@
%i.icon-lock
Private
.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
%h5.title
Team
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment