Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorAndrey Kumanyaev <me@zzet.org>2013-01-26 01:14:36 +0400
committerAndrey Kumanyaev <me@zzet.org>2013-01-26 01:14:36 +0400
commit890e774ddc7bea953daddcce9f5677fafc30896a (patch)
treec7fb08fa0dcef3e7e690173aa3f43c9b2d574a53 /app/views
parentb280c2f361ab2c22166523a3123c378d69fdf4df (diff)
Display actual user role (admin or not) in team members list
Diffstat (limited to 'app/views')
-rw-r--r--app/views/teams/members/_show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/teams/members/_show.html.haml b/app/views/teams/members/_show.html.haml
index dbbb382d97f..740d5a498c0 100644
--- a/app/views/teams/members/_show.html.haml
+++ b/app/views/teams/members/_show.html.haml
@@ -18,7 +18,7 @@
.left.span2
%span
Admin access
- = check_box_tag :group_admin
+ = check_box_tag :group_admin, true, @team.admin?(user)
.right
- if current_user == user
%span.btn.disabled This is you!