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