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
f5189158
Commit
f5189158
authored
Sep 22, 2020
by
clenneville
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update dropdown to gl components
parent
32642199
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
11 deletions
+14
-11
ee/app/assets/javascripts/analytics/cycle_analytics/components/custom_stage_form.vue
...nalytics/cycle_analytics/components/custom_stage_form.vue
+14
-11
No files found.
ee/app/assets/javascripts/analytics/cycle_analytics/components/custom_stage_form.vue
View file @
f5189158
...
...
@@ -6,9 +6,9 @@ import {
GlFormInput
,
GlFormSelect
,
GlLoadingIcon
,
GlD
eprecatedD
ropdown
,
GlD
eprecatedDropdow
nHeader
,
GlD
eprecatedD
ropdownItem
,
GlDropdown
,
GlD
ropdownSectio
nHeader
,
GlDropdownItem
,
GlSprintf
,
}
from
'
@gitlab/ui
'
;
import
{
s__
}
from
'
~/locale
'
;
...
...
@@ -76,9 +76,9 @@ export default {
GlFormSelect
,
GlLoadingIcon
,
LabelsSelector
,
GlD
eprecatedD
ropdown
,
GlD
eprecatedDropdow
nHeader
,
GlD
eprecatedD
ropdownItem
,
GlDropdown
,
GlD
ropdownSectio
nHeader
,
GlDropdownItem
,
GlSprintf
,
},
props
:
{
...
...
@@ -257,21 +257,24 @@ export default {
<form
v-else
class=
"custom-stage-form m-4 mt-0"
>
<div
class=
"mb-1 d-flex flex-row justify-content-between"
>
<h4>
{{
formTitle
}}
</h4>
<gl-d
eprecated-d
ropdown
<gl-dropdown
:text=
"__('Recover hidden stage')"
class=
"js-recover-hidden-stage-dropdown"
category=
"tertiary"
variant=
"default"
size=
"medium"
>
<gl-d
eprecated-dropdown-header>
{{
__
(
'
Default stages
'
)
}}
</gl-deprecated-dropdow
n-header>
<gl-d
ropdown-section-header>
{{
__
(
'
Default stages
'
)
}}
</gl-dropdown-sectio
n-header>
<template
v-if=
"hasHiddenStages"
>
<gl-d
eprecated-d
ropdown-item
<gl-dropdown-item
v-for=
"stage in hiddenStages"
:key=
"stage.id"
@
click=
"handleRecoverStage(stage.id)"
>
{{
stage
.
title
}}
</gl-d
eprecated-d
ropdown-item
>
{{
stage
.
title
}}
</gl-dropdown-item
>
</
template
>
<p
v-else
class=
"mx-3 my-2"
>
{{ __('All default stages are currently visible') }}
</p>
</gl-d
eprecated-d
ropdown>
</gl-dropdown>
</div>
<gl-form-group
ref=
"name"
...
...
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