summaryrefslogtreecommitdiff
path: root/app/views/projects/builds/_table.html.haml
blob: 028664f5bbaccd86de1c72fd41009f2075592578 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
- admin = local_assigns.fetch(:admin, false)

- if builds.blank?
  %div
    .nothing-here-block No builds to show
- else
  .table-holder
    %table.table.ci-table.builds-page
      %thead
        %tr
          %th Status
          %th Build
          %th Pipeline
          - if admin
            %th Project
            %th Runner
          %th Stage
          %th Name
          %th
          %th Coverage
          %th

      = render partial: "projects/ci/builds/build", collection: builds, as: :build, locals: { commit_sha: true, ref: true, pipeline_link: true, stage: true, allow_retry: true, coverage: admin || project.build_coverage_enabled?, admin: admin }

  = paginate builds, theme: 'gitlab'