Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorMarin Jankovski <marin@gitlab.com>2014-07-09 14:52:58 +0400
committerMarin Jankovski <marin@gitlab.com>2014-07-10 10:36:28 +0400
commitd4e7db40829a9ece62ead4d98380b36c2707c556 (patch)
treeed4ab9485e13f4ca99a8b4d2875161826d775a9c /app
parent1f3261ac414ce42e5bbb6d5e0891e2cb5483dace (diff)
Add milestone descriptions on the group show page.
Diffstat (limited to 'app')
-rw-r--r--app/views/groups/milestones/show.html.haml14
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: