2016-09-29 09:46:39 +05:30
|
|
|
- admin = local_assigns.fetch(:admin, false)
|
|
|
|
|
|
|
|
- if builds.blank?
|
2016-11-03 12:29:30 +05:30
|
|
|
%div
|
2017-08-17 22:00:37 +05:30
|
|
|
.nothing-here-block No jobs to show
|
2016-09-29 09:46:39 +05:30
|
|
|
- else
|
|
|
|
.table-holder
|
2016-11-03 12:29:30 +05:30
|
|
|
%table.table.ci-table.builds-page
|
2016-09-29 09:46:39 +05:30
|
|
|
%thead
|
|
|
|
%tr
|
|
|
|
%th Status
|
2017-08-17 22:00:37 +05:30
|
|
|
%th Job
|
|
|
|
%th Pipeline
|
2016-09-29 09:46:39 +05:30
|
|
|
- if admin
|
|
|
|
%th Project
|
|
|
|
%th Runner
|
|
|
|
%th Stage
|
|
|
|
%th Name
|
2019-09-04 21:01:54 +05:30
|
|
|
%th Timing
|
2016-09-29 09:46:39 +05:30
|
|
|
%th Coverage
|
|
|
|
%th
|
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
= 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-09-29 09:46:39 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
= paginate_collection(builds)
|