debian-mirror-gitlab/app/views/projects/jobs/_table.html.haml
2019-09-04 21:01:54 +05:30

26 lines
650 B
Plaintext

- admin = local_assigns.fetch(:admin, false)
- if builds.blank?
%div
.nothing-here-block No jobs to show
- else
.table-holder
%table.table.ci-table.builds-page
%thead
%tr
%th Status
%th Job
%th Pipeline
- if admin
%th Project
%th Runner
%th Stage
%th Name
%th Timing
%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, admin: admin }
= paginate_collection(builds)