Show milestone state on group milestone show page.

This commit is contained in:
Marin Jankovski 2014-07-15 11:59:37 +02:00
parent 275a5281d5
commit dcc6302c85

View file

@ -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