EE render_if_exists for SSO badge in _member view

This commit is contained in:
James Edwards-Jones 2018-10-24 21:11:34 +01:00
parent 5bb7067aeb
commit 9e48cbf89d

View file

@ -14,6 +14,8 @@
= user_status(user) = user_status(user)
%span.cgray= user.to_reference %span.cgray= user.to_reference
= render_if_exists 'shared/members/ee/sso_badge', member: member
- if user == current_user - if user == current_user
%span.badge.badge-success.prepend-left-5 It's you %span.badge.badge-success.prepend-left-5 It's you