gitlab-org--gitlab-foss/app/views/shared/_email_with_badge.html.haml

6 lines
161 B
Text

- variant = verified ? :success : :danger
- text = verified ? _('Verified') : _('Unverified')
%span.gl-mr-3
= email
= gl_badge_tag text, { variant: variant }