summaryrefslogtreecommitdiff
path: root/app/helpers/ci_status_helper.rb
diff options
context:
space:
mode:
authorAnnabel Dunstone <annabel.dunstone@gmail.com>2016-08-17 10:06:10 -0500
committerAnnabel Dunstone <annabel.dunstone@gmail.com>2016-08-17 10:09:25 -0500
commit4e66551a6614283f5b085a523bdbfbc552edb976 (patch)
treedd7b18b48e5e14646ea68583a9e6091b59b304d2 /app/helpers/ci_status_helper.rb
parent49e7070adfcb281938a43aceeb52cc0257601e1d (diff)
downloadgitlab-ce-4e66551a6614283f5b085a523bdbfbc552edb976.tar.gz
Add deploy btn in graph; fix JS to toggle one graph at a time if multiple pipelines
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 573cdef767e..eb385d58e3b 100644
--- a/app/helpers/ci_status_helper.rb
+++ b/app/helpers/ci_status_helper.rb
@@ -39,14 +39,14 @@ module CiStatusHelper
when 'running'
'icon_status_running'
when 'play'
- 'icon_status_warning'
+ 'play'
when 'created'
'icon_status_pending'
else
'icon_status_cancel'
end
- custom_icon(icon_name)
+ status == 'play' ? icon(icon_name + ' fw') : custom_icon(icon_name)
end
def render_commit_status(commit, tooltip_placement: 'auto left')