2021-01-19 10:10:34 -05:00
|
|
|
- css_classes = %w(badge gl-badge)
|
|
|
|
- css_classes << (verified ? 'badge-success': 'badge-danger')
|
2019-06-10 04:41:22 -04:00
|
|
|
- text = verified ? _('Verified') : _('Unverified')
|
2017-07-13 10:52:34 -04:00
|
|
|
|
2017-09-09 09:18:40 -04:00
|
|
|
.email-badge
|
|
|
|
.email-badge-email= email
|
2017-07-13 10:52:34 -04:00
|
|
|
%div{ class: css_classes }
|
|
|
|
= text
|