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
e5d6b8d9
Commit
e5d6b8d9
authored
Mar 12, 2021
by
Yogi
Committed by
David O'Regan
Mar 12, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move from btn-success to btn-confirm milestones directory
parent
3a54e151
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
5 deletions
+10
-5
app/views/projects/milestones/_form.html.haml
app/views/projects/milestones/_form.html.haml
+4
-4
app/views/projects/milestones/index.html.haml
app/views/projects/milestones/index.html.haml
+1
-1
changelogs/unreleased/btn-confirm-project-milestones.yml
changelogs/unreleased/btn-confirm-project-milestones.yml
+5
-0
No files found.
app/views/projects/milestones/_form.html.haml
View file @
e5d6b8d9
...
...
@@ -21,8 +21,8 @@
.form-actions
-
if
@milestone
.
new_record?
=
f
.
submit
_
(
'Create milestone'
),
class:
'gl-button btn-
success
btn'
,
data:
{
qa_selector:
'create_milestone_button'
}
=
link_to
_
(
'Cancel'
),
project_milestones_path
(
@project
),
class:
'gl-button btn btn-cancel'
=
f
.
submit
_
(
'Create milestone'
),
class:
'gl-button btn-
confirm
btn'
,
data:
{
qa_selector:
'create_milestone_button'
}
=
link_to
_
(
'Cancel'
),
project_milestones_path
(
@project
),
class:
'gl-button btn btn-
default btn-
cancel'
-
else
=
f
.
submit
_
(
'Save changes'
),
class:
'gl-button btn-
success
btn'
=
link_to
_
(
'Cancel'
),
project_milestone_path
(
@project
,
@milestone
),
class:
'gl-button btn btn-cancel'
=
f
.
submit
_
(
'Save changes'
),
class:
'gl-button btn-
confirm
btn'
=
link_to
_
(
'Cancel'
),
project_milestone_path
(
@project
,
@milestone
),
class:
'gl-button btn btn-
default btn-
cancel'
app/views/projects/milestones/index.html.haml
View file @
e5d6b8d9
...
...
@@ -8,7 +8,7 @@
=
render
'shared/milestones/search_form'
=
render
'shared/milestones_sort_dropdown'
-
if
can?
(
current_user
,
:admin_milestone
,
@project
)
=
link_to
new_project_milestone_path
(
@project
),
class:
'gl-button btn btn-
success
'
,
data:
{
qa_selector:
"new_project_milestone_link"
},
title:
_
(
'New milestone'
)
do
=
link_to
new_project_milestone_path
(
@project
),
class:
'gl-button btn btn-
confirm
'
,
data:
{
qa_selector:
"new_project_milestone_link"
},
title:
_
(
'New milestone'
)
do
=
_
(
'New milestone'
)
-
if
@milestones
.
blank?
...
...
changelogs/unreleased/btn-confirm-project-milestones.yml
0 → 100644
View file @
e5d6b8d9
---
title
:
Move from btn-success to btn-confirm in milestones directory
merge_request
:
56342
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