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

9 lines
235 B
Text
Raw Normal View History

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