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
90613575
Commit
90613575
authored
Sep 14, 2020
by
Nadia Sotnikova
Committed by
Juan
Sep 18, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Migration to gl-button
parent
29bc9e60
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
app/assets/javascripts/custom_metrics/components/delete_custom_metric_modal.vue
.../custom_metrics/components/delete_custom_metric_modal.vue
+4
-4
No files found.
app/assets/javascripts/custom_metrics/components/delete_custom_metric_modal.vue
View file @
90613575
<
script
>
import
{
GlModal
,
GlModalDirective
,
Gl
Deprecated
Button
}
from
'
@gitlab/ui
'
;
import
{
GlModal
,
GlModalDirective
,
GlButton
}
from
'
@gitlab/ui
'
;
import
{
s__
}
from
'
~/locale
'
;
export
default
{
components
:
{
GlModal
,
Gl
Deprecated
Button
,
GlButton
,
},
directives
:
{
'
gl-modal
'
:
GlModalDirective
,
...
...
@@ -33,9 +33,9 @@ export default {
</
script
>
<
template
>
<div
class=
"d-inline-block float-right mr-3"
>
<gl-
deprecated-button
v-gl-modal=
"$options.modalId"
variant=
"danger
"
>
<gl-
button
v-gl-modal=
"$options.modalId"
variant=
"danger"
category=
"primary
"
>
{{
__
(
'
Delete
'
)
}}
</gl-
deprecated-
button>
</gl-button>
<gl-modal
:title=
"s__('Metrics|Delete metric?')"
:ok-title=
"s__('Metrics|Delete metric')"
...
...
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