Use manual build icon in play/stop build statuses

This commit is contained in:
Grzegorz Bizon 2016-12-13 11:53:36 +01:00
parent 6057150677
commit 2011f8f1c2
3 changed files with 12 additions and 6 deletions

View file

@ -48,8 +48,6 @@ module CiStatusHelper
'icon_status_created' 'icon_status_created'
when 'skipped' when 'skipped'
'icon_status_skipped' 'icon_status_skipped'
when 'manual'
'icon_status_manual'
else else
'icon_status_canceled' 'icon_status_canceled'
end end

View file

@ -6,11 +6,15 @@ module Gitlab
include Status::Extended include Status::Extended
def text def text
'play' 'manual'
end end
def label def label
'play' 'manual play action'
end
def icon
'icon_status_manual'
end end
def has_action? def has_action?

View file

@ -6,11 +6,15 @@ module Gitlab
include Status::Extended include Status::Extended
def text def text
'stop' 'manual'
end end
def label def label
'stop' 'manual stop action'
end
def icon
'icon_status_manual'
end end
def has_action? def has_action?