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
a8dc90ca
Commit
a8dc90ca
authored
Nov 06, 2020
by
Iniubong Obonguko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updates buttons in app/views/groups/milestones directory
parent
5be4e69d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
app/views/groups/milestones/_form.html.haml
app/views/groups/milestones/_form.html.haml
+4
-4
app/views/groups/milestones/index.html.haml
app/views/groups/milestones/index.html.haml
+1
-1
No files found.
app/views/groups/milestones/_form.html.haml
View file @
a8dc90ca
...
...
@@ -19,8 +19,8 @@
.form-actions
-
if
@milestone
.
new_record?
=
f
.
submit
'Create milestone'
,
class:
"btn-success btn"
,
data:
{
qa_selector:
"create_milestone_button"
}
=
link_to
"Cancel"
,
group_milestones_path
(
@group
),
class:
"btn btn-cancel"
=
f
.
submit
'Create milestone'
,
class:
"btn-success
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 btn"
=
link_to
"Cancel"
,
group_milestone_path
(
@group
,
@milestone
),
class:
"btn btn-cancel"
=
f
.
submit
'Update milestone'
,
class:
"btn-success
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 @
a8dc90ca
...
...
@@ -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 btn-success"
,
data:
{
qa_selector:
"new_group_milestone_link"
}
=
link_to
"New milestone"
,
new_group_milestone_path
(
@group
),
class:
"btn
gl-button
btn-success"
,
data:
{
qa_selector:
"new_group_milestone_link"
}
.milestones
%ul
.content-list
...
...
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