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
9943da1d
Commit
9943da1d
authored
Mar 05, 2021
by
Yogi
Committed by
Savas Vedova
Mar 05, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move to btn-confirm from btn-success in groups/milestones directory
parent
37d862c3
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
app/views/groups/milestones/_form.html.haml
app/views/groups/milestones/_form.html.haml
+2
-2
app/views/groups/milestones/index.html.haml
app/views/groups/milestones/index.html.haml
+1
-1
changelogs/unreleased/btn-confirm-group-milestones.yml
changelogs/unreleased/btn-confirm-group-milestones.yml
+5
-0
No files found.
app/views/groups/milestones/_form.html.haml
View file @
9943da1d
...
...
@@ -19,8 +19,8 @@
.form-actions
-
if
@milestone
.
new_record?
=
f
.
submit
'Create milestone'
,
class:
"btn-
success
gl-button btn"
,
data:
{
qa_selector:
"create_milestone_button"
}
=
f
.
submit
'Create milestone'
,
class:
"btn-
confirm
gl-button btn"
,
data:
{
qa_selector:
"create_milestone_button"
}
=
link_to
"Cancel"
,
group_milestones_path
(
@group
),
class:
"btn gl-button btn-cancel"
-
else
=
f
.
submit
'Update milestone'
,
class:
"btn-
success
gl-button btn"
=
f
.
submit
'Update milestone'
,
class:
"btn-
confirm
gl-button btn"
=
link_to
"Cancel"
,
group_milestone_path
(
@group
,
@milestone
),
class:
"btn gl-button btn-cancel"
app/views/groups/milestones/index.html.haml
View file @
9943da1d
...
...
@@ -8,7 +8,7 @@
=
render
'shared/milestones/search_form'
=
render
'shared/milestones_sort_dropdown'
-
if
can?
(
current_user
,
:admin_milestone
,
@group
)
=
link_to
_
(
'New milestone'
),
new_group_milestone_path
(
@group
),
class:
"btn gl-button btn-
success
"
,
data:
{
qa_selector:
"new_group_milestone_link"
}
=
link_to
_
(
'New milestone'
),
new_group_milestone_path
(
@group
),
class:
"btn gl-button btn-
confirm
"
,
data:
{
qa_selector:
"new_group_milestone_link"
}
-
if
@milestones
.
blank?
=
render
'shared/empty_states/milestones'
...
...
changelogs/unreleased/btn-confirm-group-milestones.yml
0 → 100644
View file @
9943da1d
---
title
:
Move to btn-confirm from btn-success in groups/milestones directory
merge_request
:
55278
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