summaryrefslogtreecommitdiff
path: root/app/views/projects/jobs/index.html.haml
blob: 9a2a1e57165546866ccb6537fc6f84ce0022369c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
= render_if_exists 'shared/minute_limit_banner', namespace: @project

- page_title _("Jobs")
- add_page_specific_style 'page_bundles/ci_status'
- admin = local_assigns.fetch(:admin, false)

- if Feature.enabled?(:jobs_table_vue, @project, default_enabled: :yaml)
  #js-jobs-table{ data: { admin: admin, full_path: @project.full_path, 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') } }
- 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

  .content-list.builds-content-list
    = render "table", builds: @builds, project: @project