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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
17e863be
Commit
17e863be
authored
Mar 03, 2018
by
Luke Bennett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create deprecation_message partial and use it
parent
ed01f87c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
9 deletions
+24
-9
app/views/shared/milestones/_deprecation_message.html.haml
app/views/shared/milestones/_deprecation_message.html.haml
+23
-0
app/views/shared/milestones/_top.html.haml
app/views/shared/milestones/_top.html.haml
+1
-9
No files found.
app/views/shared/milestones/_deprecation_message.html.haml
0 → 100644
View file @
17e863be
.milestone-deprecation-message.prepend-top-default.js-toggle-container
=
image_tag
'illustrations/milestone_removing-page.svg'
,
class:
'append-right-default'
.inline.vertical-align-middle.text-container
%strong
This page will be removed in a future release.
%p
.append-bottom-default.prepend-top-5
Use group milestones to manage issues from multiple projects in the same milestone.
%br
=
button_tag
'Promote these project milestones into a group milestone.'
,
class:
'btn-link js-toggle-button'
.popup.js-toggle-content.hide.small-triangle
.body
%ol
.instructions-list
%li
Click any
%strong
project name
in the project list below to navigate to the project milestone.
%li
Click the
%strong
Promote
button in the top right corner to promote it to a group milestone.
.footer
=
link_to
'Learn more'
,
help_page_url
(
'user/project/milestones'
,
anchor:
'promoting-project-milestones-to-group-milestones'
),
class:
'btn-link'
%div
=
link_to
'Learn more'
,
help_page_url
(
'user/project/milestones'
,
anchor:
'promoting-project-milestones-to-group-milestones'
),
class:
'btn btn-default'
\ No newline at end of file
app/views/shared/milestones/_top.html.haml
View file @
17e863be
...
...
@@ -30,15 +30,7 @@
-
else
=
link_to
'Reopen Milestone'
,
group_milestone_route
(
milestone
,
{
state_event: :activate
}),
method: :put
,
class:
"btn btn-grouped btn-reopen"
.prepend-top-default
=
image_tag
'illustrations/milestone_removing-page.svg'
,
class:
'append-right-default'
.inline.vertical-align-middle
%strong
This page will be removed in a future release.
%p
.append-bottom-default.prepend-top-default
Use group milestones to manage issues from multiple projects in the same milestone.
%br
=
button_tag
'Promote these project milestones into a group milestone.'
,
class:
'btn-link'
%div
=
link_to
'Learn more'
,
help_page_url
(
'user/project/milestones'
,
anchor:
'promoting-project-milestones-to-group-milestones'
),
class:
'btn btn-default'
=
render
'shared/milestones/deprecation_message'
.detail-page-description.milestone-detail
%h2
.title
...
...
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