Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
a1206b19
Commit
a1206b19
authored
Jun 05, 2017
by
Bryce Johnson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restore className assignment and update test comments. [ci-skip]
parent
adf0431d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
app/assets/javascripts/pipelines/components/graph/graph_component.vue
...avascripts/pipelines/components/graph/graph_component.vue
+1
-1
app/assets/javascripts/pipelines/stores/pipeline_store.js
app/assets/javascripts/pipelines/stores/pipeline_store.js
+2
-2
app/assets/stylesheets/pages/pipelines.scss
app/assets/stylesheets/pages/pipelines.scss
+1
-0
No files found.
app/assets/javascripts/pipelines/components/graph/graph_component.vue
View file @
a1206b19
...
...
@@ -53,7 +53,7 @@
// If it's the first stage column and only has one job
if
(
index
===
0
&&
stage
.
groups
.
length
===
1
)
{
className
=
'
left
-margin
'
;
className
=
'
no
-margin
'
;
}
else
if
(
index
>
0
)
{
// If it is not the first column
className
=
'
left-margin
'
;
...
...
app/assets/javascripts/pipelines/stores/pipeline_store.js
View file @
a1206b19
...
...
@@ -19,10 +19,10 @@ export default class PipelineStore {
storePipeline
(
pipeline
=
{})
{
// single job in first stage
// graph[0].groups = [graph
[0].groups[0]];
pipeline
.
details
.
stages
[
3
].
groups
=
[
pipeline
.
details
.
stages
[
0
].
groups
[
0
]];
// multiple jobs in last stage
//
graph[3].groups.push(graph
[0].groups[0]);
//
pipeline.details.stages[3].groups.push(pipeline.details.stages
[0].groups[0]);
this
.
state
.
pipeline
=
pipeline
;
this
.
state
.
triggered_by
=
mockTriggerers
;
...
...
app/assets/stylesheets/pages/pipelines.scss
View file @
a1206b19
...
...
@@ -1076,6 +1076,7 @@
@include
flat-connector-before
;
}
}
.build
{
&
:first-child
{
&
:
:
after
{
...
...
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