2020-06-22 08:08:47 -04:00
|
|
|
- page_title _("Jobs")
|
2020-10-23 05:08:41 -04:00
|
|
|
- add_page_specific_style 'page_bundles/ci_status'
|
2015-10-14 06:15:03 -04:00
|
|
|
|
2021-04-19 14:09:09 -04:00
|
|
|
- if Feature.enabled?(:jobs_table_vue, @project, default_enabled: :yaml)
|
2021-05-04 11:10:36 -04:00
|
|
|
#js-jobs-table{ data: { 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 14:09:09 -04: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 14:09:45 -04:00
|
|
|
|
2021-04-19 14:09:09 -04:00
|
|
|
.content-list.builds-content-list
|
|
|
|
= render "table", builds: @builds, project: @project
|