diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-12-05 18:16:34 +0100 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-12-06 14:13:22 +0100 |
commit | 401c155e16e4966be538fd14f23e268cd3383aa7 (patch) | |
tree | cebea72b9aa1dbde1580ac13f3c8f957a6e90f38 /app/views/projects/pipelines/_with_tabs.html.haml | |
parent | 260d754ca89c14297e0e360d35d7914d57e290bf (diff) | |
download | gitlab-ce-401c155e16e4966be538fd14f23e268cd3383aa7.tar.gz |
Update stage rendering views
Diffstat (limited to 'app/views/projects/pipelines/_with_tabs.html.haml')
-rw-r--r-- | app/views/projects/pipelines/_with_tabs.html.haml | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/app/views/projects/pipelines/_with_tabs.html.haml b/app/views/projects/pipelines/_with_tabs.html.haml index 57e793d2e59..2ace9339af3 100644 --- a/app/views/projects/pipelines/_with_tabs.html.haml +++ b/app/views/projects/pipelines/_with_tabs.html.haml @@ -13,17 +13,7 @@ .tab-content #js-tab-pipeline.tab-pane .build-content.middle-block.pipeline-graph - .pipeline-visualization - %ul.stage-column-list - - pipeline.stages.each do |stage| - %li.stage-column - .stage-name - %a{name: stage.name} - - if stage.name - = stage.name.titleize - .builds-container - %ul - = render "projects/commit/pipeline_stage", statuses: statuses + = render "projects/pipelines/graph", subject: pipeline #js-tab-builds.tab-pane - if pipeline.yaml_errors.present? @@ -49,4 +39,5 @@ - if pipeline.project.build_coverage_enabled? %th Coverage %th - = render pipeline.stages + - pipeline.stages.each do |stage| + = render "projects/stage/stage", subject: stage |