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
f37211f3
Commit
f37211f3
authored
May 28, 2018
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use render_if_exists for EE partials
To eliminate CE/EE difference
parent
77183a79
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/views/shared/milestones/_sidebar.html.haml
app/views/shared/milestones/_sidebar.html.haml
+1
-1
app/views/shared/milestones/_top.html.haml
app/views/shared/milestones/_top.html.haml
+1
-1
No files found.
app/views/shared/milestones/_sidebar.html.haml
View file @
f37211f3
...
...
@@ -99,7 +99,7 @@
=
_
(
'Time tracking'
)
=
icon
(
'spinner spin'
)
=
render
'shared/milestones/weight'
,
milestone:
milestone
=
render
_if_exists
'shared/milestones/weight'
,
milestone:
milestone
.block.merge-requests
.sidebar-collapsed-icon.has-tooltip
{
title:
milestone_merge_requests_tooltip_text
(
milestone
),
data:
{
container:
'body'
,
html:
'true'
,
placement:
'left'
,
boundary:
'viewport'
}
}
...
...
app/views/shared/milestones/_top.html.haml
View file @
f37211f3
...
...
@@ -48,7 +48,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
}
=
render
'shared/milestones/burndown'
,
milestone:
@milestone
,
project:
@project
=
render
_if_exists
'shared/milestones/burndown'
,
milestone:
@milestone
,
project:
@project
-
if
is_dynamic_milestone
.table-holder
...
...
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