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
ce1808a7
Commit
ce1808a7
authored
Mar 13, 2019
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removes EE differences for stage column
parent
ff26347d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
app/assets/javascripts/pipelines/components/graph/stage_column_component.vue
...pts/pipelines/components/graph/stage_column_component.vue
+2
-3
app/assets/javascripts/pipelines/mixins/stage_column_mixin.js
...assets/javascripts/pipelines/mixins/stage_column_mixin.js
+7
-0
No files found.
app/assets/javascripts/pipelines/components/graph/stage_column_component.vue
View file @
ce1808a7
<
script
>
<
script
>
import
_
from
'
underscore
'
;
import
_
from
'
underscore
'
;
import
stageColumnMixin
from
'
ee_else_ce/pipelines/mixins/stage_column_mixin
'
;
import
JobItem
from
'
./job_item.vue
'
;
import
JobItem
from
'
./job_item.vue
'
;
import
JobGroupDropdown
from
'
./job_group_dropdown.vue
'
;
import
JobGroupDropdown
from
'
./job_group_dropdown.vue
'
;
...
@@ -8,6 +9,7 @@ export default {
...
@@ -8,6 +9,7 @@ export default {
JobItem
,
JobItem
,
JobGroupDropdown
,
JobGroupDropdown
,
},
},
mixins
:
[
stageColumnMixin
],
props
:
{
props
:
{
title
:
{
title
:
{
type
:
String
,
type
:
String
,
...
@@ -32,9 +34,6 @@ export default {
...
@@ -32,9 +34,6 @@ export default {
groupId
(
group
)
{
groupId
(
group
)
{
return
`ci-badge-
${
_
.
escape
(
group
.
name
)}
`
;
return
`ci-badge-
${
_
.
escape
(
group
.
name
)}
`
;
},
},
buildConnnectorClass
(
index
)
{
return
index
===
0
&&
!
this
.
isFirstColumn
?
'
left-connector
'
:
''
;
},
pipelineActionRequestComplete
()
{
pipelineActionRequestComplete
()
{
this
.
$emit
(
'
refreshPipelineGraph
'
);
this
.
$emit
(
'
refreshPipelineGraph
'
);
},
},
...
...
app/assets/javascripts/pipelines/mixins/stage_column_mixin.js
0 → 100644
View file @
ce1808a7
export
default
{
methods
:
{
buildConnnectorClass
(
index
)
{
return
index
===
0
&&
!
this
.
isFirstColumn
?
'
left-connector
'
:
''
;
},
},
};
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