diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-12-13 11:53:36 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-12-13 11:53:36 +0100 |
commit | 2011f8f1c2b4788df04fd76dcab816ab337e9e08 (patch) | |
tree | 3a6c88b242d4affb42060efafcb5872bbd6134b8 | |
parent | 605715067767572ff96964370d78e7b31083ddde (diff) | |
download | gitlab-ce-2011f8f1c2b4788df04fd76dcab816ab337e9e08.tar.gz |
Use manual build icon in play/stop build statuses
-rw-r--r-- | app/helpers/ci_status_helper.rb | 2 | ||||
-rw-r--r-- | lib/gitlab/ci/status/build/play.rb | 8 | ||||
-rw-r--r-- | lib/gitlab/ci/status/build/stop.rb | 8 |
3 files changed, 12 insertions, 6 deletions
diff --git a/app/helpers/ci_status_helper.rb b/app/helpers/ci_status_helper.rb index eb2aeaa4628..d9f5e01f0dc 100644 --- a/app/helpers/ci_status_helper.rb +++ b/app/helpers/ci_status_helper.rb @@ -48,8 +48,6 @@ module CiStatusHelper 'icon_status_created' when 'skipped' 'icon_status_skipped' - when 'manual' - 'icon_status_manual' else 'icon_status_canceled' end diff --git a/lib/gitlab/ci/status/build/play.rb b/lib/gitlab/ci/status/build/play.rb index e3066d40a37..974b9e9b1f9 100644 --- a/lib/gitlab/ci/status/build/play.rb +++ b/lib/gitlab/ci/status/build/play.rb @@ -6,11 +6,15 @@ module Gitlab include Status::Extended def text - 'play' + 'manual' end def label - 'play' + 'manual play action' + end + + def icon + 'icon_status_manual' end def has_action? diff --git a/lib/gitlab/ci/status/build/stop.rb b/lib/gitlab/ci/status/build/stop.rb index a4966a55892..f8ffa95cde4 100644 --- a/lib/gitlab/ci/status/build/stop.rb +++ b/lib/gitlab/ci/status/build/stop.rb @@ -6,11 +6,15 @@ module Gitlab include Status::Extended def text - 'stop' + 'manual' end def label - 'stop' + 'manual stop action' + end + + def icon + 'icon_status_manual' end def has_action? |