Commit dcc6302c authored by Marin Jankovski's avatar Marin Jankovski

Show milestone state on group milestone show page.

parent 275a5281
...@@ -32,11 +32,11 @@ ...@@ -32,11 +32,11 @@
%h4 %h4
= link_to "#{milestone.project.name} - #{milestone.title}", project_milestone_path(milestone.project, milestone) = link_to "#{milestone.project.name} - #{milestone.title}", project_milestone_path(milestone.project, milestone)
%span.pull-right= milestone.expires_at %span.pull-right= milestone.expires_at
- if milestone.closed?
%span.label.label-danger #{milestone.state}
= preserve do = preserve do
- if milestone.description.present? - if milestone.description.present?
= milestone.description = milestone.description
- else
%em Project milestone has no description
.context .context
%p %p
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment