debian-mirror-gitlab/app/views/shared/_email_with_badge.html.haml
2019-09-04 21:01:54 +05:30

8 lines
241 B
Text

- css_classes = %w(badge badge-verification-status)
- css_classes << (verified ? 'verified': 'unverified')
- text = verified ? _('Verified') : _('Unverified')
.email-badge
.email-badge-email= email
%div{ class: css_classes }
= text