debian-mirror-gitlab/app/views/shared/_email_with_badge.html.haml

9 lines
231 B
Text
Raw Normal View History

2021-03-11 19:13:27 +05:30
- css_classes = %w(badge gl-badge)
- css_classes << (verified ? 'badge-success': 'badge-danger')
2019-09-04 21:01:54 +05:30
- text = verified ? _('Verified') : _('Unverified')
2017-09-10 17:25:29 +05:30
2018-03-17 18:26:18 +05:30
.email-badge
.email-badge-email= email
2017-09-10 17:25:29 +05:30
%div{ class: css_classes }
= text