diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-12-06 11:00:52 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-12-06 11:00:52 +0100 |
commit | b1d6dd4c7479d01ac8b3392c55fb3c24dc18c4ae (patch) | |
tree | c45497840143cfa95b854e9650888e02f175feec /app/helpers | |
parent | ed4ec0dab7df042d53696ad118c9f0a829990802 (diff) | |
download | gitlab-ce-b1d6dd4c7479d01ac8b3392c55fb3c24dc18c4ae.tar.gz |
Restore legacy statuses support in ci status helpers
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/ci_status_helper.rb | 4 |
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' |