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