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'
|
'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
|
||||||
|
|
|
@ -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?
|
||||||
|
|
|
@ -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?
|
||||||
|
|
Loading…
Reference in a new issue