From 0ae3b75bb3380492f9826d8386fa9e12aa218794 Mon Sep 17 00:00:00 2001 From: Mike Greiling Date: Mon, 24 Oct 2016 15:47:02 -0500 Subject: add pipeline column within builds index --- app/views/projects/builds/_table.html.haml | 1 + app/views/projects/ci/builds/_build.html.haml | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/app/views/projects/builds/_table.html.haml b/app/views/projects/builds/_table.html.haml index 36294c89fa8..c42efc321b1 100644 --- a/app/views/projects/builds/_table.html.haml +++ b/app/views/projects/builds/_table.html.haml @@ -10,6 +10,7 @@ %tr %th Status %th Build + %th Pipeline - if admin %th Project %th Runner diff --git a/app/views/projects/ci/builds/_build.html.haml b/app/views/projects/ci/builds/_build.html.haml index 94632056b15..4f4612f6b80 100644 --- a/app/views/projects/ci/builds/_build.html.haml +++ b/app/views/projects/ci/builds/_build.html.haml @@ -51,6 +51,15 @@ - if build.manual? %span.label.label-info manual + %td + = link_to pipeline_path(build.pipeline) do + %span.pipeline-id ##{build.pipeline.id} + %span by + - if build.pipeline.user + = user_avatar(user: build.pipeline.user, size: 20) + - else + %span.api.monospace API + - if admin %td - if build.project -- cgit v1.2.1