Commit b1d6dd4c authored by Grzegorz Bizon's avatar Grzegorz Bizon

Restore legacy statuses support in ci status helpers

parent ed4ec0da
...@@ -23,6 +23,8 @@ module CiStatusHelper ...@@ -23,6 +23,8 @@ module CiStatusHelper
case status case status
when 'success' when 'success'
'passed' 'passed'
when 'success_with_warnings'
'passed with warnings'
else else
status status
end end
...@@ -41,6 +43,8 @@ module CiStatusHelper ...@@ -41,6 +43,8 @@ module CiStatusHelper
case status case status
when 'success' when 'success'
'icon_status_success' 'icon_status_success'
when 'success_with_warnings'
'icon_status_warning'
when 'failed' when 'failed'
'icon_status_failed' 'icon_status_failed'
when 'pending' when 'pending'
......
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