summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-12-06 11:00:52 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-12-06 11:00:52 +0100
commitb1d6dd4c7479d01ac8b3392c55fb3c24dc18c4ae (patch)
treec45497840143cfa95b854e9650888e02f175feec
parented4ec0dab7df042d53696ad118c9f0a829990802 (diff)
downloadgitlab-ce-b1d6dd4c7479d01ac8b3392c55fb3c24dc18c4ae.tar.gz
Restore legacy statuses support in ci status helpers
-rw-r--r--app/helpers/ci_status_helper.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/helpers/ci_status_helper.rb b/app/helpers/ci_status_helper.rb
index ff507765255..da0ebc0040a 100644
--- a/app/helpers/ci_status_helper.rb
+++ b/app/helpers/ci_status_helper.rb
@@ -23,6 +23,8 @@ module CiStatusHelper
case status
when 'success'
'passed'
+ when 'success_with_warnings'
+ 'passed with warnings'
else
status
end
@@ -41,6 +43,8 @@ module CiStatusHelper
case status
when 'success'
'icon_status_success'
+ when 'success_with_warnings'
+ 'icon_status_warning'
when 'failed'
'icon_status_failed'
when 'pending'