debian-mirror-gitlab/app/views/shared/_email_with_badge.html.haml
2018-11-08 19:23:39 +05:30

8 lines
235 B
Text

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