debian-mirror-gitlab/app/views/projects/jobs/_table.html.haml

26 lines
648 B
Text
Raw Normal View History

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
%th
%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
= paginate builds, theme: 'gitlab'