Commit 1548f7e0 authored by Jacob Schatz's avatar Jacob Schatz

Merge branch '25898-ci-icon-color-mr' into 'master'

Adds CSS class to status icon on MR widget to prevent non-colored icon

Closes #25898

See merge request !8219
parents ffcf1565 f93b876c
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
- # TODO, remove in later versions when services like Jenkins will set CI status via Commit status API - # TODO, remove in later versions when services like Jenkins will set CI status via Commit status API
.mr-widget-heading .mr-widget-heading
- %w[success skipped canceled failed running pending].each do |status| - %w[success skipped canceled failed running pending].each do |status|
.ci_widget{class: "ci-#{status}", style: "display:none"} .ci_widget{class: "ci-#{status} ci-status-icon-#{status}", style: "display:none"}
= ci_icon_for_status(status) = ci_icon_for_status(status)
%span %span
CI build CI build
......
---
title: Adds CSS class to status icon on MR widget to prevent non-colored icon
merge_request: 8219
author:
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