Commit e70939b2 authored by Brandon Labuschagne's avatar Brandon Labuschagne

Merge branch '344371-update-compliance-badges' into 'master'

Update compliance framework badge to use GlBadge

See merge request gitlab-org/gitlab!80903
parents 6b983bcb 46839f6d
......@@ -3,5 +3,5 @@
- if show_compliance_framework_badge?(project)
- framework = project.compliance_framework_setting.compliance_management_framework
%span.badge.compliance-framework-pill.ml-2.has-tooltip{ style: "background-color: #{framework.color}", class: text_color_class_for_bg(framework.color), data: { container: 'body' }, title: framework.description }
= gl_badge_tag(nil, { class: "compliance-framework-pill gl-ml-3! has-tooltip", style: "background-color: #{framework.color}; color: #{text_color_for_bg(framework.color)}", data: { container: 'body' }, title: framework.description}) do
= framework.name
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