2016-09-01 04:02:01 -04:00
|
|
|
- if builds.blank?
|
|
|
|
%li
|
|
|
|
.nothing-here-block No builds to show
|
|
|
|
- else
|
|
|
|
.table-holder
|
|
|
|
%table.table.builds
|
|
|
|
%thead
|
|
|
|
%tr
|
|
|
|
%th Status
|
|
|
|
%th Commit
|
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
|
|
|
|
%th
|
2016-09-01 08:09:58 -04:00
|
|
|
- unless admin
|
|
|
|
- if project.build_coverage_enabled?
|
2016-09-01 04:02:01 -04:00
|
|
|
%th Coverage
|
|
|
|
|
2016-08-11 05:02:09 -04:00
|
|
|
|
2016-09-01 08:09:58 -04:00
|
|
|
- if admin
|
2016-08-11 05:02:09 -04:00
|
|
|
- builds.each do |build|
|
|
|
|
= render "admin/builds/build", build: build
|
2016-09-01 04:02:01 -04:00
|
|
|
- else
|
2016-08-11 05:02:09 -04:00
|
|
|
= render builds, commit_sha: true, ref: true, stage: true, allow_retry: true, coverage: project.build_coverage_enabled?
|
|
|
|
|
2016-09-01 04:02:01 -04:00
|
|
|
= paginate builds, theme: 'gitlab'
|