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

30 lines
702 B
Text
Raw Normal View History

- 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
%th Stage
%th Name
%th
%th
2016-09-01 08:09:58 -04:00
- unless admin
- if project.build_coverage_enabled?
%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
- 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?
= paginate builds, theme: 'gitlab'