Commit 890e774d authored by Andrey Kumanyaev's avatar Andrey Kumanyaev

Display actual user role (admin or not) in team members list

parent b280c2f3
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
.left.span2 .left.span2
%span %span
Admin access Admin access
= check_box_tag :group_admin = check_box_tag :group_admin, true, @team.admin?(user)
.right .right
- if current_user == user - if current_user == user
%span.btn.disabled This is you! %span.btn.disabled This is you!
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment