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