summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Edwards-Jones <jedwardsjones@gitlab.com>2018-10-24 21:11:34 +0100
committerJames Edwards-Jones <jedwardsjones@gitlab.com>2018-10-24 21:11:34 +0100
commit9e48cbf89d86e85868eb9a6496adb53d593dcacb (patch)
tree3ee827098ee7212f8bd1b5c2872b3b9085f121dd
parent5bb7067aeba58385812d3a6c514b7ed319f0f6ab (diff)
downloadgitlab-ce-9e48cbf89d86e85868eb9a6496adb53d593dcacb.tar.gz
EE render_if_exists for SSO badge in _member view
-rw-r--r--app/views/shared/members/_member.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/shared/members/_member.html.haml b/app/views/shared/members/_member.html.haml
index 2682d92fc56..b4b3f4a6b7e 100644
--- a/app/views/shared/members/_member.html.haml
+++ b/app/views/shared/members/_member.html.haml
@@ -14,6 +14,8 @@
= user_status(user)
%span.cgray= user.to_reference
+ = render_if_exists 'shared/members/ee/sso_badge', member: member
+
- if user == current_user
%span.badge.badge-success.prepend-left-5 It's you