summaryrefslogtreecommitdiff
path: root/app/views/groups/milestones/index.html.haml
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-03-03 16:19:37 +0100
committerDouwe Maan <douwe@gitlab.com>2015-03-03 16:19:37 +0100
commitfbc3cb69c327e52a002c7909c257c43c9a2f5ba5 (patch)
tree7a42aac8eb05242dde9cf529f5537a4aa91d3703 /app/views/groups/milestones/index.html.haml
parent2f4656b5c7e2a9b351237432e76a7b928a1684b1 (diff)
downloadgitlab-ce-fbc3cb69c327e52a002c7909c257c43c9a2f5ba5.tar.gz
Add dashboard milestones.
Diffstat (limited to 'app/views/groups/milestones/index.html.haml')
-rw-r--r--app/views/groups/milestones/index.html.haml7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/views/groups/milestones/index.html.haml b/app/views/groups/milestones/index.html.haml
index 7f0b2832cac..fcbcb309aa7 100644
--- a/app/views/groups/milestones/index.html.haml
+++ b/app/views/groups/milestones/index.html.haml
@@ -40,7 +40,8 @@
.progress-bar{style: "width: #{milestone.percent_complete}%;"}
%div
%br
- - milestone.projects.each do |project|
- %span.label.label-default
- = project.name
+ - milestone.milestones.each do |milestone|
+ = link_to namespace_project_milestone_path(milestone.project.namespace, milestone.project, milestone) do
+ %span.label.label-default
+ = milestone.project.name
= paginate @group_milestones, theme: "gitlab"