2020-06-22 12:08:47 +00:00
|
|
|
- page_title _("Jobs")
|
2020-10-23 09:08:41 +00:00
|
|
|
- add_page_specific_style 'page_bundles/ci_status'
|
2021-09-08 09:09:10 +00:00
|
|
|
- admin = local_assigns.fetch(:admin, false)
|
2015-10-14 10:15:03 +00:00
|
|
|
|
2021-04-19 18:09:09 +00:00
|
|
|
- if Feature.enabled?(:jobs_table_vue, @project, default_enabled: :yaml)
|
2021-09-08 09:09:10 +00:00
|
|
|
#js-jobs-table{ data: { admin: admin, full_path: @project.full_path, job_counts: job_counts.to_json, job_statuses: job_statuses.to_json, pipeline_editor_path: project_ci_pipeline_editor_path(@project), empty_state_svg_path: image_path('jobs-empty-state.svg') } }
|
2021-04-19 18:09:09 +00:00
|
|
|
- else
|
|
|
|
.top-area
|
|
|
|
- build_path_proc = ->(scope) { project_jobs_path(@project, scope: scope) }
|
|
|
|
= render "shared/builds/tabs", build_path_proc: build_path_proc, all_builds: @all_builds, scope: @scope
|
2016-06-03 18:09:45 +00:00
|
|
|
|
2021-04-19 18:09:09 +00:00
|
|
|
.content-list.builds-content-list
|
|
|
|
= render "table", builds: @builds, project: @project
|