gitlab-org--gitlab-foss/app/views/groups/people.html.haml

21 lines
561 B
Text
Raw Normal View History

2012-11-29 12:14:05 -05:00
.row
.span3
= render 'people_filter'
.span9
2012-12-25 18:05:38 -05:00
- if can?(current_user, :manage_group, @group)
= render (@project ? "new_member" : "new_group_member")
2012-11-29 12:14:05 -05:00
.ui-box
2013-01-04 17:35:38 -05:00
%h5.title
2012-11-29 12:14:05 -05:00
Team
%small
(#{@users.size})
%ul.well-list
2012-11-29 12:14:05 -05:00
- @users.each do |user|
%li
2012-11-29 12:14:05 -05:00
= image_tag gravatar_icon(user.email, 16), class: "avatar s16"
%strong= user.name
%span.cgray= user.email
- if @group.owner == user
2013-01-30 09:40:43 -05:00
%span.btn.btn-small.disabled.pull-right Group Owner
2012-12-25 18:05:38 -05:00