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
90a10c32
Commit
90a10c32
authored
Jun 20, 2018
by
Constance Okoghenun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated markup for milestone title in milestones list
parent
88491599
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
app/views/shared/milestones/_milestone.html.haml
app/views/shared/milestones/_milestone.html.haml
+4
-3
No files found.
app/views/shared/milestones/_milestone.html.haml
View file @
90a10c32
...
@@ -5,9 +5,10 @@
...
@@ -5,9 +5,10 @@
%li
{
class:
"milestone milestone-#{milestone.closed? ? 'closed' : 'open'}"
,
id:
custom_dom_id
}
%li
{
class:
"milestone milestone-#{milestone.closed? ? 'closed' : 'open'}"
,
id:
custom_dom_id
}
.row
.row
.col-sm-6
.col-sm-6
%strong
=
link_to
truncate
(
milestone
.
title
,
length:
100
),
milestone_path
%div
-
unless
dashboard
%strong
=
link_to
truncate
(
milestone
.
title
,
length:
100
),
milestone_path
=
" -
#{
milestone_type
}
"
-
unless
dashboard
=
" -
#{
milestone_type
}
"
-
if
@project
||
milestone
.
is_a?
(
GlobalMilestone
)
||
milestone
.
group_milestone?
-
if
@project
||
milestone
.
is_a?
(
GlobalMilestone
)
||
milestone
.
group_milestone?
=
render
(
'shared/milestone_expired'
,
milestone:
milestone
)
=
render
(
'shared/milestone_expired'
,
milestone:
milestone
)
...
...
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