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
|
|
|
|
%h5
|
|
|
|
Team
|
|
|
|
%small
|
|
|
|
(#{@users.size})
|
2012-12-18 04:14:05 +01:00
|
|
|
%ul.well-list
|
2012-11-29 18:14:05 +01:00
|
|
|
- @users.each do |user|
|
2012-12-18 04:14:05 +01:00
|
|
|
%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
|
2012-11-30 17:26:17 +01:00
|
|
|
- if @group.owner == user
|
|
|
|
%span.btn.btn-small.disabled.right Group Owner
|
2012-12-26 00:05:38 +01:00
|
|
|
|