diff options
author | Tim Zallmann <tzallmann@gitlab.com> | 2017-09-28 20:05:01 +0300 |
---|---|---|
committer | Tim Zallmann <tzallmann@gitlab.com> | 2017-10-30 12:27:46 +0300 |
commit | de5f2ef4007cd6e13bd866cd36fd7a95a27bc131 (patch) | |
tree | fc459702d6b9d2da35cce2d3722fd38016ea129d /app/helpers/ci_status_helper.rb | |
parent | 2573818f6d53f5d89a2615b78551253a3bab4cfa (diff) |
Updated Static Icons from CI Area
Diffstat (limited to 'app/helpers/ci_status_helper.rb')
-rw-r--r-- | app/helpers/ci_status_helper.rb | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/app/helpers/ci_status_helper.rb b/app/helpers/ci_status_helper.rb index 8022547a6ad..85a8b2c8b97 100644 --- a/app/helpers/ci_status_helper.rb +++ b/app/helpers/ci_status_helper.rb @@ -63,34 +63,34 @@ module CiStatusHelper def ci_icon_for_status(status) if detailed_status?(status) - return custom_icon(status.icon) + return sprite_icon(status.icon) end icon_name = case status when 'success' - 'icon_status_success' + 'status_success' when 'success_with_warnings' - 'icon_status_warning' + 'status_warning' when 'failed' - 'icon_status_failed' + 'status_failed' when 'pending' - 'icon_status_pending' + 'status_pending' when 'running' - 'icon_status_running' + 'status_running' when 'play' - 'icon_play' + 'play' when 'created' - 'icon_status_created' + 'status_created' when 'skipped' - 'icon_status_skipped' + 'status_skipped' when 'manual' - 'icon_status_manual' + 'status_manual' else - 'icon_status_canceled' + 'status_canceled' end - custom_icon(icon_name) + sprite_icon(icon_name) end def pipeline_status_cache_key(pipeline_status) |