Use manual build icon in play/stop build statuses
This commit is contained in:
parent
6057150677
commit
2011f8f1c2
3 changed files with 12 additions and 6 deletions
|
@ -48,8 +48,6 @@ module CiStatusHelper
|
|||
'icon_status_created'
|
||||
when 'skipped'
|
||||
'icon_status_skipped'
|
||||
when 'manual'
|
||||
'icon_status_manual'
|
||||
else
|
||||
'icon_status_canceled'
|
||||
end
|
||||
|
|
|
@ -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?
|
||||
|
|
|
@ -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?
|
||||
|
|
Loading…
Reference in a new issue