BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
58131ac9
Commit
58131ac9
authored
Feb 10, 2017
by
Alfredo Sumaran
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '27987-skipped-pipeline-mr-graph' into 'master'
Only show MR widget graph if there are stages Closes #27987 See merge request !9141
parents
551ce1d2
ce9a9b67
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
_heading.html.haml
app/views/projects/merge_requests/widget/_heading.html.haml
+1
-0
27987-skipped-pipeline-mr-graph.yml
changelogs/unreleased/27987-skipped-pipeline-mr-graph.yml
+4
-0
No files found.
app/views/projects/merge_requests/widget/_heading.html.haml
View file @
58131ac9
...
...
@@ -9,6 +9,7 @@
Pipeline
=
link_to
"#
#{
@pipeline
.
id
}
"
,
namespace_project_pipeline_path
(
@pipeline
.
project
.
namespace
,
@pipeline
.
project
,
@pipeline
.
id
),
class:
'pipeline'
=
ci_label_for_status
(
status
)
-
if
@pipeline
.
stages
.
any?
.mr-widget-pipeline-graph
=
render
'shared/mini_pipeline_graph'
,
pipeline:
@pipeline
,
klass:
'js-pipeline-inline-mr-widget-graph'
%span
...
...
changelogs/unreleased/27987-skipped-pipeline-mr-graph.yml
0 → 100644
View file @
58131ac9
---
title
:
Show pipeline graph in MR widget if there are any stages
merge_request
:
author
:
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment