diff options
author | Marin Jankovski <marin@gitlab.com> | 2014-07-09 14:52:58 +0400 |
---|---|---|
committer | Marin Jankovski <marin@gitlab.com> | 2014-07-10 10:36:28 +0400 |
commit | d4e7db40829a9ece62ead4d98380b36c2707c556 (patch) | |
tree | ed4ab9485e13f4ca99a8b4d2875161826d775a9c /app | |
parent | 1f3261ac414ce42e5bbb6d5e0891e2cb5483dace (diff) |
Add milestone descriptions on the group show page.
Diffstat (limited to 'app')
-rw-r--r-- | app/views/groups/milestones/show.html.haml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/app/views/groups/milestones/show.html.haml b/app/views/groups/milestones/show.html.haml index 4b6c00a3247..3daf5d986d5 100644 --- a/app/views/groups/milestones/show.html.haml +++ b/app/views/groups/milestones/show.html.haml @@ -26,6 +26,20 @@ %h4.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 %p Progress: |