diff options
author | Tim Zallmann <tzallmann@gitlab.com> | 2017-09-28 19:05:01 +0200 |
---|---|---|
committer | Tim Zallmann <tzallmann@gitlab.com> | 2017-10-30 10:27:46 +0100 |
commit | de5f2ef4007cd6e13bd866cd36fd7a95a27bc131 (patch) | |
tree | fc459702d6b9d2da35cce2d3722fd38016ea129d /app/helpers | |
parent | 2573818f6d53f5d89a2615b78551253a3bab4cfa (diff) | |
download | gitlab-ce-de5f2ef4007cd6e13bd866cd36fd7a95a27bc131.tar.gz |
Updated Static Icons from CI Area
Diffstat (limited to 'app/helpers')
-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) |