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