Commit 46839f6d authored by Jiaan Louw's avatar Jiaan Louw

Update compliance framework to use gl_badge_tag

parent 28db4da9
...@@ -3,5 +3,5 @@ ...@@ -3,5 +3,5 @@
- if show_compliance_framework_badge?(project) - if show_compliance_framework_badge?(project)
- framework = project.compliance_framework_setting.compliance_management_framework - 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 = 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