summaryrefslogtreecommitdiff
path: root/app/views/projects/pipelines/_with_tabs.html.haml
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-12-07 19:30:14 +0100
committerKamil Trzcinski <ayufan@ayufan.eu>2016-12-07 19:30:14 +0100
commit8842f55201ae4725b307336686f8ab168fa0effb (patch)
tree9fd3079231ad2258374e54e6ff26168e5809be43 /app/views/projects/pipelines/_with_tabs.html.haml
parent93c72e0f71919968972e874519e01370edcce022 (diff)
downloadgitlab-ce-8842f55201ae4725b307336686f8ab168fa0effb.tar.gz
Code review
Diffstat (limited to 'app/views/projects/pipelines/_with_tabs.html.haml')
-rw-r--r--app/views/projects/pipelines/_with_tabs.html.haml5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/views/projects/pipelines/_with_tabs.html.haml b/app/views/projects/pipelines/_with_tabs.html.haml
index 2ace9339af3..a58bcb38b18 100644
--- a/app/views/projects/pipelines/_with_tabs.html.haml
+++ b/app/views/projects/pipelines/_with_tabs.html.haml
@@ -13,7 +13,7 @@
.tab-content
#js-tab-pipeline.tab-pane
.build-content.middle-block.pipeline-graph
- = render "projects/pipelines/graph", subject: pipeline
+ = render "projects/pipelines/graph", subject: pipeline, as: :pipeline
#js-tab-builds.tab-pane
- if pipeline.yaml_errors.present?
@@ -39,5 +39,4 @@
- if pipeline.project.build_coverage_enabled?
%th Coverage
%th
- - pipeline.stages.each do |stage|
- = render "projects/stage/stage", subject: stage
+ = render partial: "projects/stage/stage", collection: pipeline.stages, as: :stage