summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2016-10-24 15:47:02 -0500
committerMike Greiling <mike@pixelcog.com>2016-11-10 16:38:00 -0600
commit0ae3b75bb3380492f9826d8386fa9e12aa218794 (patch)
treef8dd2f4952517fee192d5e02e4dcba8e7bd151c8
parentf5dd0957bee6f8881f2c53bf2cd5db4c9a109326 (diff)
downloadgitlab-ce-0ae3b75bb3380492f9826d8386fa9e12aa218794.tar.gz
add pipeline column within builds index
-rw-r--r--app/views/projects/builds/_table.html.haml1
-rw-r--r--app/views/projects/ci/builds/_build.html.haml9
2 files changed, 10 insertions, 0 deletions
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