2020-07-28 23:09:34 +05:30
|
|
|
- page_title _("Jobs")
|
2021-01-29 00:20:46 +05:30
|
|
|
- add_page_specific_style 'page_bundles/ci_status'
|
2021-11-11 11:23:49 +05:30
|
|
|
- admin = local_assigns.fetch(:admin, false)
|
2017-09-10 17:25:29 +05:30
|
|
|
|
2021-04-29 21:17:54 +05:30
|
|
|
- if Feature.enabled?(:jobs_table_vue, @project, default_enabled: :yaml)
|
2021-11-11 11:23:49 +05:30
|
|
|
#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-29 21:17:54 +05:30
|
|
|
- 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-16 23:09:34 +05:30
|
|
|
|
2021-04-29 21:17:54 +05:30
|
|
|
.content-list.builds-content-list
|
|
|
|
= render "table", builds: @builds, project: @project
|