Commit 1afbeb49 authored by Phil Hughes's avatar Phil Hughes

Merge branch '344405-credentials-gpg-badge-pajamas' into 'master'

Update credentials gpg badge to match pajamas

See merge request gitlab-org/gitlab!77643
parents a77f610c e989d5b7
- verified = gpg_key.verified?
- verified_css_classes = %w(badge gl-badge)
- verified_css_classes << (verified ? 'badge-success': 'badge-danger')
- variant = verified ? :success : :danger
- verified_text = verified ? _('Verified') : _('Unverified')
.gl-responsive-table-row{ role: 'row', data: { qa_selector: 'credentials_gpg_key_row_content' } }
......@@ -19,5 +18,4 @@
.table-mobile-header{ role: 'rowheader' }
= _('Status')
.table-mobile-content
%div{ class: verified_css_classes }
= verified_text
= gl_badge_tag verified_text, variant: variant
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