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
diff options
context:
space:
mode:
authorAndrew8xx8 <avk@8xx8.ru>2013-03-04 18:52:30 +0400
committerAndrew8xx8 <avk@8xx8.ru>2013-03-04 18:52:30 +0400
commit0d9a6fe7b16e52cc4d5595d6b26552c39911cf07 (patch)
tree96e0725dfb072df84198f1c2e2407ceda41caa3b /app/views/teams/members/_show.html.haml
parent9a06dd4aa1ab008b6e12205ec3f8d00a50f79aa1 (diff)
User's blocked field refactored to use state machine
Diffstat (limited to 'app/views/teams/members/_show.html.haml')
-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 3aa2db866ad..59758109036 100644
--- a/app/views/teams/members/_show.html.haml
+++ b/app/views/teams/members/_show.html.haml
@@ -23,7 +23,7 @@
%span.btn.disabled This is you!
- if @team.owner == user
%span.btn.disabled Owner
- - elsif user.blocked
+ - elsif user.blocked?
%span.btn.disabled.blocked Blocked
- elsif allow_admin
= link_to team_member_path(@team, user), confirm: remove_from_user_team_message(@team, user), method: :delete, class: "btn-tiny btn btn-remove", title: "Remove from team" do