debian-mirror-gitlab/app/views/shared/_email_with_badge.html.haml
2021-03-11 19:13:27 +05:30

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