Add variable form in user section
This commit is contained in:
parent
25c5763780
commit
2753cea75a
1 changed files with 3 additions and 3 deletions
|
@ -2,8 +2,8 @@
|
|||
.span3
|
||||
= render 'people_filter'
|
||||
.span9
|
||||
- if @project && can?(current_user, :manage_group, @group)
|
||||
= render "new_member"
|
||||
- if can?(current_user, :manage_group, @group)
|
||||
= render (@project ? "new_member" : "new_group_member")
|
||||
.ui-box
|
||||
%h5
|
||||
Team
|
||||
|
@ -17,4 +17,4 @@
|
|||
%span.cgray= user.email
|
||||
- if @group.owner == user
|
||||
%span.btn.btn-small.disabled.right Group Owner
|
||||
= render "new_group_member"
|
||||
|
||||
|
|
Loading…
Reference in a new issue