BigW Consortium Gitlab

_table.html.haml 646 Bytes
Newer Older
Katarzyna Kobierska committed
1
- admin = local_assigns.fetch(:admin, false)
2

3
- if builds.blank?
4
  %div
5 6 7 8 9 10 11
    .nothing-here-block No builds to show
- else
  .table-holder
    %table.table.builds
      %thead
        %tr
          %th Status
12
          %th Build
Katarzyna Kobierska committed
13
          - if admin
14 15
            %th Project
            %th Runner
16 17 18
          %th Stage
          %th Name
          %th
19
          %th Coverage
20
          %th
21

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

24
  = paginate builds, theme: 'gitlab'