Restore legacy statuses support in ci status helpers

This commit is contained in:
Grzegorz Bizon 2016-12-06 11:00:52 +01:00
parent ed4ec0dab7
commit b1d6dd4c74

View file

@ -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'