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
135f103e
Commit
135f103e
authored
Mar 08, 2021
by
Yogi
Committed by
Kushal Pandya
Mar 08, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move from btn-success to btn-confirm in shared/labels directory
parent
37d862c3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
5 deletions
+10
-5
app/views/shared/labels/_form.html.haml
app/views/shared/labels/_form.html.haml
+3
-3
app/views/shared/labels/_nav.html.haml
app/views/shared/labels/_nav.html.haml
+2
-2
changelogs/unreleased/yo-btn-confirm-shared-labels.yml
changelogs/unreleased/yo-btn-confirm-shared-labels.yml
+5
-0
No files found.
app/views/shared/labels/_form.html.haml
View file @
135f103e
...
...
@@ -28,7 +28,7 @@
=
render_suggested_colors
.form-actions
-
if
@label
.
persisted?
=
f
.
submit
'Save changes'
,
class:
'btn gl-button btn-
success
js-save-button'
=
f
.
submit
'Save changes'
,
class:
'btn gl-button btn-
confirm
js-save-button'
-
else
=
f
.
submit
'Create label'
,
class:
'btn gl-button btn-
success
js-save-button qa-label-create-button'
=
link_to
'Cancel'
,
back_path
,
class:
'btn gl-button btn-cancel'
=
f
.
submit
'Create label'
,
class:
'btn gl-button btn-
confirm
js-save-button qa-label-create-button'
=
link_to
'Cancel'
,
back_path
,
class:
'btn gl-button btn-
default btn-
cancel'
app/views/shared/labels/_nav.html.haml
View file @
135f103e
...
...
@@ -19,6 +19,6 @@
=
sprite_icon
(
'search'
)
=
render
'shared/labels/sort_dropdown'
-
if
labels_or_filters
&&
can_admin_label
&&
@project
=
link_to
_
(
'New label'
),
new_project_label_path
(
@project
),
class:
"btn gl-button btn-
success
qa-label-create-new"
=
link_to
_
(
'New label'
),
new_project_label_path
(
@project
),
class:
"btn gl-button btn-
confirm
qa-label-create-new"
-
if
labels_or_filters
&&
can_admin_label
&&
@group
=
link_to
_
(
'New label'
),
new_group_label_path
(
@group
),
class:
"btn gl-button btn-
success
qa-label-create-new"
=
link_to
_
(
'New label'
),
new_group_label_path
(
@group
),
class:
"btn gl-button btn-
confirm
qa-label-create-new"
changelogs/unreleased/yo-btn-confirm-shared-labels.yml
0 → 100644
View file @
135f103e
---
title
:
Move from btn-success to btn-confirm in shared/labels directory
merge_request
:
55304
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