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

26 lines
704 B
Text
Raw Normal View History

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