summaryrefslogtreecommitdiff
path: root/app/helpers/ci_status_helper.rb
diff options
context:
space:
mode:
authorAnnabel Dunstone <annabel.dunstone@gmail.com>2016-07-15 10:26:15 -0500
committerAnnabel Dunstone <annabel.dunstone@gmail.com>2016-07-19 06:03:22 -0700
commitda55496b6fc3ef1c65c4369cabb89b874dbc79e6 (patch)
treeec35cf589ab98ab4fbb95516784e3ed0bf208f3c /app/helpers/ci_status_helper.rb
parentad14c1bf85f716ed698e8802161de74f462a106c (diff)
downloadgitlab-ce-da55496b6fc3ef1c65c4369cabb89b874dbc79e6.tar.gz
Add new running icon; add a bunch of styles to get svg to match existing fa icons
Diffstat (limited to 'app/helpers/ci_status_helper.rb')
-rw-r--r--app/helpers/ci_status_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/ci_status_helper.rb b/app/helpers/ci_status_helper.rb
index e6c99c9959e..5219a0ff47b 100644
--- a/app/helpers/ci_status_helper.rb
+++ b/app/helpers/ci_status_helper.rb
@@ -32,12 +32,12 @@ module CiStatusHelper
when 'pending'
'clock-o'
when 'running'
- 'spinner'
+ 'icon_running'
else
'circle'
end
- icon(icon_name + ' fw')
+ status == 'running' ? custom_icon(icon_name) : icon(icon_name + ' fw')
end
def render_commit_status(commit, tooltip_placement: 'auto left', cssclass: '')