diff options
author | Constance Okoghenun <cokoghenun@gitlab.com> | 2018-06-20 23:22:44 +0100 |
---|---|---|
committer | Constance Okoghenun <cokoghenun@gitlab.com> | 2018-06-20 23:22:44 +0100 |
commit | 90a10c32eccf07011784bee5ad4cb0270f04a7dd (patch) | |
tree | 84824f445502388d5cb6c48fb32901e9db2742f7 /app/views/shared/milestones | |
parent | 8849159986f8565a23ae1512831c50ae3e76ae9a (diff) | |
download | gitlab-ce-90a10c32eccf07011784bee5ad4cb0270f04a7dd.tar.gz |
Updated markup for milestone title in milestones list
Diffstat (limited to 'app/views/shared/milestones')
-rw-r--r-- | app/views/shared/milestones/_milestone.html.haml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/app/views/shared/milestones/_milestone.html.haml b/app/views/shared/milestones/_milestone.html.haml index e0d9bb91b46..75f5cef2d6d 100644 --- a/app/views/shared/milestones/_milestone.html.haml +++ b/app/views/shared/milestones/_milestone.html.haml @@ -5,9 +5,10 @@ %li{ class: "milestone milestone-#{milestone.closed? ? 'closed' : 'open'}", id: custom_dom_id } .row .col-sm-6 - %strong= link_to truncate(milestone.title, length: 100), milestone_path - - unless dashboard - = " - #{milestone_type}" + %div + %strong= link_to truncate(milestone.title, length: 100), milestone_path + - unless dashboard + = " - #{milestone_type}" - if @project || milestone.is_a?(GlobalMilestone) || milestone.group_milestone? = render('shared/milestone_expired', milestone: milestone) |