Merge branch '27987-skipped-pipeline-mr-graph' into 'master'
Only show MR widget graph if there are stages Closes #27987 See merge request !9141
This commit is contained in:
commit
58131ac93c
2 changed files with 7 additions and 2 deletions
|
@ -9,8 +9,9 @@
|
|||
Pipeline
|
||||
= link_to "##{@pipeline.id}", namespace_project_pipeline_path(@pipeline.project.namespace, @pipeline.project, @pipeline.id), class: 'pipeline'
|
||||
= ci_label_for_status(status)
|
||||
.mr-widget-pipeline-graph
|
||||
= render 'shared/mini_pipeline_graph', pipeline: @pipeline, klass: 'js-pipeline-inline-mr-widget-graph'
|
||||
- if @pipeline.stages.any?
|
||||
.mr-widget-pipeline-graph
|
||||
= render 'shared/mini_pipeline_graph', pipeline: @pipeline, klass: 'js-pipeline-inline-mr-widget-graph'
|
||||
%span
|
||||
for
|
||||
= succeed "." do
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
title: Show pipeline graph in MR widget if there are any stages
|
||||
merge_request:
|
||||
author:
|
Loading…
Reference in a new issue