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

8 lines
231 B
Text

- css_classes = %w(badge gl-badge)
- css_classes << (verified ? 'badge-success': 'badge-danger')
- text = verified ? _('Verified') : _('Unverified')
.email-badge
.email-badge-email= email
%div{ class: css_classes }
= text