gitlab-org--gitlab-foss/app/views/shared/_email_with_badge.html.haml
Brett Walker c56208f980 refactored _email_with_badge partial from gpg into shared, so it can
be used with the email profile page as well
2017-09-23 15:23:11 +02:00

8 lines
235 B
Text

- 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