gitlab-org--gitlab-foss/app/views/groups/people.html.haml
2013-01-30 16:40:43 +02:00

20 lines
561 B
Text

.row
.span3
= render 'people_filter'
.span9
- if can?(current_user, :manage_group, @group)
= render (@project ? "new_member" : "new_group_member")
.ui-box
%h5.title
Team
%small
(#{@users.size})
%ul.well-list
- @users.each do |user|
%li
= image_tag gravatar_icon(user.email, 16), class: "avatar s16"
%strong= user.name
%span.cgray= user.email
- if @group.owner == user
%span.btn.btn-small.disabled.pull-right Group Owner