summaryrefslogtreecommitdiff
path: root/app/views/projects/milestones/index.html.haml
diff options
context:
space:
mode:
authorAlex Braha Stoll <alexbrahastoll@gmail.com>2016-12-13 02:29:12 -0200
committerAdam Niedzielski <adamsunday@gmail.com>2017-03-10 13:04:19 +0100
commit50a8f16e165d45bf6b518c0e250e1f5a360a6d3f (patch)
tree750a23b4089a654453c612a79e595fd701c12c70 /app/views/projects/milestones/index.html.haml
parent81ad61113112c49704cfe24b8e47479976422e60 (diff)
downloadgitlab-ce-50a8f16e165d45bf6b518c0e250e1f5a360a6d3f.tar.gz
Add count badges to both dashboard and group milestonesadam-count-badges-group-dashboard-milestones
Diffstat (limited to 'app/views/projects/milestones/index.html.haml')
-rw-r--r--app/views/projects/milestones/index.html.haml10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/views/projects/milestones/index.html.haml b/app/views/projects/milestones/index.html.haml
index ad2bfbec915..918f5d161bb 100644
--- a/app/views/projects/milestones/index.html.haml
+++ b/app/views/projects/milestones/index.html.haml
@@ -1,14 +1,14 @@
- @no_container = true
-- page_title "Milestones"
-= render "projects/issues/head"
+- page_title 'Milestones'
+= render 'projects/issues/head'
%div{ class: container_class }
.top-area
- = render 'shared/milestones_filter'
+ = render 'shared/milestones_filter', counts: milestone_counts(@project.milestones)
.nav-controls
- if can?(current_user, :admin_milestone, @project)
- = link_to new_namespace_project_milestone_path(@project.namespace, @project), class: "btn btn-new", title: "New Milestone" do
+ = link_to new_namespace_project_milestone_path(@project.namespace, @project), class: 'btn btn-new', title: 'New Milestone' do
New Milestone
.milestones
@@ -19,4 +19,4 @@
%li
.nothing-here-block No milestones to show
- = paginate @milestones, theme: "gitlab"
+ = paginate @milestones, theme: 'gitlab'