diff options
author | Marin Jankovski <marin@gitlab.com> | 2018-04-12 07:54:48 +0000 |
---|---|---|
committer | Marin Jankovski <marin@gitlab.com> | 2018-04-12 07:54:48 +0000 |
commit | b9d868e33d232808a4c964e2e3e28b4874345e73 (patch) | |
tree | 1332cd623be6c8ea6e7f18c9d00f7c4c86e248cd /lib/gitlab/ci/status | |
parent | 85b873e9779a40f88cca95579fe254fbeb695ddc (diff) | |
parent | 11bfc4b29b92a3748423114a0f9576d6b96bc9ff (diff) | |
download | gitlab-ce-b9d868e33d232808a4c964e2e3e28b4874345e73.tar.gz |
Merge branch 'fix/gb/fix-pipeline-statuses-illustrations' into 'master'
Fix empty state for build that does not have a trace
Closes #45204
See merge request gitlab-org/gitlab-ce!18278
Diffstat (limited to 'lib/gitlab/ci/status')
-rw-r--r-- | lib/gitlab/ci/status/build/common.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/gitlab/ci/status/build/common.rb b/lib/gitlab/ci/status/build/common.rb index c0c7c7f5b5d..c1fc70ac266 100644 --- a/lib/gitlab/ci/status/build/common.rb +++ b/lib/gitlab/ci/status/build/common.rb @@ -3,6 +3,14 @@ module Gitlab module Status module Build module Common + def illustration + { + image: 'illustrations/skipped-job_empty.svg', + size: 'svg-430', + title: _('This job does not have a trace.') + } + end + def has_details? can?(user, :read_build, subject) end |