gitlab-org--gitlab-foss/lib/gitlab/ci/status/pipeline/scheduled.rb
2018-10-02 17:08:14 +02:00

21 lines
405 B
Ruby

module Gitlab
module Ci
module Status
module Pipeline
class Scheduled < Status::Extended
def text
s_('CiStatusText|scheduled')
end
def label
s_('CiStatusLabel|waiting for delayed job')
end
def self.matches?(pipeline, user)
pipeline.scheduled?
end
end
end
end
end
end