BigW Consortium Gitlab

index.html.haml 807 Bytes
Newer Older
1
- breadcrumb_title "Jobs"
2 3
- @no_container = true

4
%div{ class: container_class }
5

6
  .top-area.scrolling-tabs-container.inner-page-scroll-tabs
7
    - build_path_proc = ->(scope) { admin_jobs_path(scope: scope) }
8
    = render "shared/builds/tabs", build_path_proc: build_path_proc, all_builds: @all_builds, scope: @scope
9

10 11 12
    - if @all_builds.running_or_pending.any?
      #stop-jobs-modal
      .nav-controls
13 14 15 16
        %button#stop-jobs-button.btn.btn-danger{ data: { toggle: 'modal',
          target: '#stop-jobs-modal',
          url: cancel_all_admin_jobs_path } }
          = s_('AdminArea|Stop all jobs')
17 18

  .row-content-block.second-block
Filipa Lacerda committed
19
    #{(@scope || 'all').capitalize} jobs
20

21
  %ul.content-list.builds-content-list.admin-builds-table
22
    = render "projects/jobs/table", builds: @builds, admin: true