summaryrefslogtreecommitdiff
path: root/app/helpers/ci/jobs_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/ci/jobs_helper.rb')
-rw-r--r--app/helpers/ci/jobs_helper.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/helpers/ci/jobs_helper.rb b/app/helpers/ci/jobs_helper.rb
index d02fe3f20b0..c7f40decae8 100644
--- a/app/helpers/ci/jobs_helper.rb
+++ b/app/helpers/ci/jobs_helper.rb
@@ -19,6 +19,13 @@ module Ci
}
end
+ def bridge_data(build)
+ {
+ "build_name" => build.name,
+ "empty-state-illustration-path" => image_path('illustrations/job-trigger-md.svg')
+ }
+ end
+
def job_counts
{
"all" => limited_counter_with_delimiter(@all_builds),