Commit d4e7db40 authored by Marin Jankovski's avatar Marin Jankovski

Add milestone descriptions on the group show page.

parent 1f3261ac
...@@ -26,6 +26,20 @@ ...@@ -26,6 +26,20 @@
%h4.title %h4.title
= gfm escape_once(@group_milestone.title) = gfm escape_once(@group_milestone.title)
.description
- @group_milestone.milestones.each do |milestone|
%hr
%strong
= link_to "#{milestone.project.name} - #{milestone.title}", project_milestone_path(milestone.project, milestone)
%span.pull-right= milestone.expires_at
%br
%br
= preserve do
- if milestone.description.present?
= milestone.description
- else
%em Project milestone has no description
.context .context
%p %p
Progress: Progress:
......
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