gitlabhq/app/views/groups/people.html.haml

21 lines
561 B
Plaintext
Raw Normal View History

2012-11-29 18:14:05 +01:00
.row
.span3
= render 'people_filter'
.span9
2012-12-26 00:05:38 +01:00
- if can?(current_user, :manage_group, @group)
= render (@project ? "new_member" : "new_group_member")
2012-11-29 18:14:05 +01:00
.ui-box
2013-01-04 23:35:38 +01:00
%h5.title
2012-11-29 18:14:05 +01:00
Team
%small
(#{@users.size})
%ul.well-list
2012-11-29 18:14:05 +01:00
- @users.each do |user|
%li
2012-11-29 18:14:05 +01: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 15:40:43 +01:00
%span.btn.btn-small.disabled.pull-right Group Owner
2012-12-26 00:05:38 +01:00