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
This commit is contained in:
Jacob Schatz 2016-12-21 12:44:34 +00:00
commit 1548f7e02f
2 changed files with 5 additions and 1 deletions

View file

@ -17,7 +17,7 @@
- # TODO, remove in later versions when services like Jenkins will set CI status via Commit status API
.mr-widget-heading
- %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)
%span
CI build

View file

@ -0,0 +1,4 @@
---
title: Adds CSS class to status icon on MR widget to prevent non-colored icon
merge_request: 8219
author: