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

9 lines
231 B
Text
Raw Normal View History

- 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