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
e879fcb8
Commit
e879fcb8
authored
Jul 10, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
fd9ceec5
863930cd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
1 deletion
+20
-1
app/views/dashboard/milestones/index.html.haml
app/views/dashboard/milestones/index.html.haml
+1
-1
changelogs/unreleased/64321-wrong-url-when-creating-milestones-from-instance-milestones-dashboard.yml
...reating-milestones-from-instance-milestones-dashboard.yml
+5
-0
spec/features/dashboard/milestones_spec.rb
spec/features/dashboard/milestones_spec.rb
+14
-0
No files found.
app/views/dashboard/milestones/index.html.haml
View file @
e879fcb8
...
...
@@ -8,7 +8,7 @@
-
if
current_user
.page-title-controls
=
render
'shared/new_project_item_select'
,
path:
'milestones/new'
,
label:
'New milestone'
,
path:
'
-/
milestones/new'
,
label:
'New milestone'
,
include_groups:
true
,
type: :milestones
.top-area
...
...
changelogs/unreleased/64321-wrong-url-when-creating-milestones-from-instance-milestones-dashboard.yml
0 → 100644
View file @
e879fcb8
---
title
:
Fix wrong URL when creating milestones from instance milestones dashboard
merge_request
:
30512
author
:
type
:
fixed
spec/features/dashboard/milestones_spec.rb
View file @
e879fcb8
...
...
@@ -29,5 +29,19 @@ describe 'Dashboard > Milestones' do
expect
(
page
).
to
have_content
(
milestone
.
title
)
expect
(
page
).
to
have_content
(
group
.
name
)
end
describe
'new milestones dropdown'
,
:js
do
it
'takes user to a new milestone page'
,
:js
do
find
(
'.new-project-item-select-button'
).
click
page
.
within
(
'.select2-results'
)
do
first
(
'.select2-result-label'
).
click
end
find
(
'.new-project-item-link'
).
click
expect
(
current_path
).
to
eq
(
new_group_milestone_path
(
group
))
end
end
end
end
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