Class: Gitlab::Ci::Status::Build::Created
- Inherits:
-
Extended
- Object
- SimpleDelegator
- Extended
- Gitlab::Ci::Status::Build::Created
show all
- Defined in:
- lib/gitlab/ci/status/build/created.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Extended
#initialize
Class Method Details
.matches?(build, user) ⇒ Boolean
17
18
19
|
# File 'lib/gitlab/ci/status/build/created.rb', line 17
def self.matches?(build, user)
build.created?
end
|
Instance Method Details
#illustration ⇒ Object
8
9
10
11
12
13
14
15
|
# File 'lib/gitlab/ci/status/build/created.rb', line 8
def illustration
{
image: 'illustrations/empty-state/empty-job-not-triggered-md.svg',
size: '',
title: _('This job has not been triggered yet'),
content: _('This job depends on upstream jobs that need to succeed in order for this job to be triggered')
}
end
|