gitlab-org--gitlab-foss/app/views/projects/jobs/_table.html.haml

26 lines
648 B
Plaintext
Raw Normal View History

2016-09-12 11:58:38 +00:00
- admin = local_assigns.fetch(:admin, false)
- if builds.blank?
%div
.nothing-here-block No jobs to show
- else
.table-holder
2016-10-10 21:31:24 +00:00
%table.table.ci-table.builds-page
%thead
%tr
%th Status
%th Job
%th Pipeline
2016-09-01 12:09:58 +00:00
- if admin
2016-08-11 09:02:09 +00:00
%th Project
%th Runner
%th Stage
%th Name
%th
%th Coverage
2016-09-01 12:27:23 +00:00
%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 }
2016-08-11 09:02:09 +00:00
= paginate builds, theme: 'gitlab'