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'
when 'skipped'
'icon_status_skipped'
when 'manual'
'icon_status_manual'
else
'icon_status_canceled'
end

View File

@ -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?

View File

@ -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?