gitlab-org--gitlab-foss/app/views/projects/jobs/_table.html.haml
Stan Hu 0e4d47e790 Add a column header to admin/jobs page
This column was blank before. It contain one or two pieces of
information:

* Job duration
* Job completion timestamp

For brevity, use `Timing` as the header.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/62347
2019-05-28 10:44:02 -07:00

25 lines
650 B
Text

- admin = local_assigns.fetch(:admin, false)
- if builds.blank?
%div
.nothing-here-block No jobs to show
- else
.table-holder
%table.table.ci-table.builds-page
%thead
%tr
%th Status
%th Job
%th Pipeline
- if admin
%th Project
%th Runner
%th Stage
%th Name
%th Timing
%th Coverage
%th
= 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 }
= paginate_collection(builds)