diff options
author | Annabel Dunstone <annabel.dunstone@gmail.com> | 2016-08-17 18:06:10 +0300 |
---|---|---|
committer | Annabel Dunstone <annabel.dunstone@gmail.com> | 2016-08-17 18:09:25 +0300 |
commit | 4e66551a6614283f5b085a523bdbfbc552edb976 (patch) | |
tree | dd7b18b48e5e14646ea68583a9e6091b59b304d2 /app/helpers/ci_status_helper.rb | |
parent | 49e7070adfcb281938a43aceeb52cc0257601e1d (diff) |
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.rb | 4 |
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') |