in app/helpers/ci_status_helper.rb [65:102]
def ci_icon_for_status(status, size: 16)
if detailed_status?(status)
return sprite_icon(status.icon, size: size)
end
icon_name =
case status
when 'success'
'status_success'
when 'success-with-warnings'
'status_warning'
when 'failed'
'status_failed'
when 'pending'
'status_pending'
when 'waiting_for_resource'
'status_pending'
when 'preparing'
'status_preparing'
when 'running'
'status_running'
when 'play'
'play'
when 'created'
'status_created'
when 'skipped'
'status_skipped'
when 'manual'
'status_manual'
when 'scheduled'
'status_scheduled'
else
'status_canceled'
end
sprite_icon(icon_name, size: size)
end