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
bd088096
Commit
bd088096
authored
Mar 09, 2021
by
Yogi
Committed by
Nicolò Maria Mezzopera
Mar 09, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move to confirm variant from success in badges component
parent
3716dfa0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
app/assets/javascripts/badges/components/badge.vue
app/assets/javascripts/badges/components/badge.vue
+1
-1
app/assets/javascripts/badges/components/badge_form.vue
app/assets/javascripts/badges/components/badge_form.vue
+2
-2
changelogs/unreleased/btn-confirm-js-badges.yml
changelogs/unreleased/btn-confirm-js-badges.yml
+5
-0
No files found.
app/assets/javascripts/badges/components/badge.vue
View file @
bd088096
...
@@ -96,7 +96,7 @@ export default {
...
@@ -96,7 +96,7 @@ export default {
v-gl-tooltip
.
hover
v-gl-tooltip
.
hover
:title=
"s__('Badges|Reload badge image')"
:title=
"s__('Badges|Reload badge image')"
category=
"tertiary"
category=
"tertiary"
variant=
"
success
"
variant=
"
confirm
"
type=
"button"
type=
"button"
icon=
"retry"
icon=
"retry"
size=
"small"
size=
"small"
...
...
app/assets/javascripts/badges/components/badge_form.vue
View file @
bd088096
...
@@ -225,7 +225,7 @@ export default {
...
@@ -225,7 +225,7 @@ export default {
<gl-button
<gl-button
:loading=
"isSaving"
:loading=
"isSaving"
type=
"submit"
type=
"submit"
variant=
"
success
"
variant=
"
confirm
"
category=
"primary"
category=
"primary"
data-testid=
"saveEditing"
data-testid=
"saveEditing"
>
>
...
@@ -233,7 +233,7 @@ export default {
...
@@ -233,7 +233,7 @@ export default {
</gl-button>
</gl-button>
</div>
</div>
<div
v-else
class=
"form-group"
>
<div
v-else
class=
"form-group"
>
<gl-button
:loading=
"isSaving"
type=
"submit"
variant=
"
success
"
category=
"primary"
>
<gl-button
:loading=
"isSaving"
type=
"submit"
variant=
"
confirm
"
category=
"primary"
>
{{
s__
(
'
Badges|Add badge
'
)
}}
{{
s__
(
'
Badges|Add badge
'
)
}}
</gl-button>
</gl-button>
</div>
</div>
...
...
changelogs/unreleased/btn-confirm-js-badges.yml
0 → 100644
View file @
bd088096
---
title
:
Move to confirm variant from success in badges component
merge_request
:
55730
author
:
Yogi (@yo)
type
:
changed
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