Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_email_with_badge.html.haml « shared « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8b9ca966ed6d1ae42d2703e413c33fbcf0880298 (plain)
1
2
3
4
5
6
7
8
- css_classes = %w(badge gl-badge)
- css_classes << (verified ? 'badge-success': 'badge-danger')
- text = verified ? _('Verified') : _('Unverified')

.email-badge
  .email-badge-email= email
  %div{ class: css_classes }
    = text