Class: Gitlab::Ci::Status::Build::Pending
- Inherits:
-
Extended
- Object
- SimpleDelegator
- Extended
- Gitlab::Ci::Status::Build::Pending
show all
- Defined in:
- lib/gitlab/ci/status/build/pending.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/pending.rb', line 17
def self.matches?(build, user)
build.pending?
end
|
Instance Method Details
#illustration ⇒ Object
8
9
10
11
12
13
14
15
|
# File 'lib/gitlab/ci/status/build/pending.rb', line 8
def illustration
{
image: 'illustrations/pending_job_empty.svg',
size: 'svg-430',
title: _('This job has not started yet'),
content: _('This job is in pending state and is waiting to be picked by a runner')
}
end
|