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
c647787b
Commit
c647787b
authored
Mar 05, 2018
by
Luke Bennett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added is_dymanic_milestone to top partial
parent
fb7189e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
app/views/shared/milestones/_top.html.haml
app/views/shared/milestones/_top.html.haml
+3
-3
No files found.
app/views/shared/milestones/_top.html.haml
View file @
c647787b
-
page_title
milestone
.
title
,
"Milestones"
-
group
=
local_assigns
[
:group
]
-
is_dynamic_milestone
=
milestone
.
legacy_group_milestone?
||
milestone
.
dashboard_milestone?
.detail-page-header
%a
.btn.btn-default.btn-grouped.pull-right.visible-xs-block.js-sidebar-toggle
{
href:
"#"
}
...
...
@@ -30,7 +30,7 @@
-
else
=
link_to
'Reopen Milestone'
,
group_milestone_route
(
milestone
,
{
state_event: :activate
}),
method: :put
,
class:
"btn btn-grouped btn-reopen"
=
render
'shared/milestones/deprecation_message'
if
milestone
.
legacy_group_milestone?
||
milestone
.
dashboard_milestone?
=
render
'shared/milestones/deprecation_message'
if
is_dynamic_milestone
.detail-page-description.milestone-detail
%h2
.title
...
...
@@ -46,7 +46,7 @@
-
close_msg
=
group
?
'You may close the milestone now.'
:
'Navigate to the project to close the milestone.'
%span
All issues for this milestone are closed.
#{
close_msg
}
-
if
milestone
.
legacy_group_milestone?
||
milestone
.
dashboard_milestone?
-
if
is_dynamic_milestone
.table-holder
%table
.table
%thead
...
...
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