diff options
author | Marin Jankovski <marin@gitlab.com> | 2014-07-15 11:59:37 +0200 |
---|---|---|
committer | Marin Jankovski <marin@gitlab.com> | 2014-07-15 11:59:37 +0200 |
commit | dcc6302c851df21a1a87f5019bb208ef40eb1d58 (patch) | |
tree | a6e30e52ce5ec6629b58e957e310cc7b4de80913 | |
parent | 275a5281d5f35bf2243a0b5814b8fb83f1561105 (diff) | |
download | gitlab-ce-dcc6302c851df21a1a87f5019bb208ef40eb1d58.tar.gz |
Show milestone state on group milestone show page.
-rw-r--r-- | app/views/groups/milestones/show.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/groups/milestones/show.html.haml b/app/views/groups/milestones/show.html.haml index 29b274af5a5..411d1822be0 100644 --- a/app/views/groups/milestones/show.html.haml +++ b/app/views/groups/milestones/show.html.haml @@ -32,11 +32,11 @@ %h4 = link_to "#{milestone.project.name} - #{milestone.title}", project_milestone_path(milestone.project, milestone) %span.pull-right= milestone.expires_at + - if milestone.closed? + %span.label.label-danger #{milestone.state} = preserve do - if milestone.description.present? = milestone.description - - else - %em Project milestone has no description .context %p |