Commit 56132291 authored by Lee Tickett's avatar Lee Tickett Committed by Phil Hughes

Make badges in email_with_badge pajamas compliant

parent 36253cf0
......@@ -329,16 +329,6 @@ table.u2f-registrations {
}
}
.email-badge {
display: inline;
margin-right: $gl-padding / 2;
.email-badge-email {
display: inline;
margin-right: $gl-padding / 4;
}
}
.edit-user {
svg {
fill: $gl-text-color-secondary;
......
- css_classes = %w(badge gl-badge)
- css_classes << (verified ? 'badge-success': 'badge-danger')
- variant = verified ? :success : :danger
- text = verified ? _('Verified') : _('Unverified')
.email-badge
.email-badge-email= email
%div{ class: css_classes }
= text
= email
= gl_badge_tag text, { variant: variant }, { class: 'gl-ml-3' }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment