gitlab-org--gitlab-foss/app/views/dashboard/milestones/index.html.haml
2017-03-10 13:04:19 +01:00

18 lines
554 B
Text

- page_title 'Milestones'
- header_title 'Milestones', dashboard_milestones_path
.top-area
= render 'shared/milestones_filter', counts: @milestone_states
.nav-controls
= render 'shared/new_project_item_select', path: 'milestones/new', label: 'New Milestone', include_groups: true
.milestones
%ul.content-list
- if @milestones.blank?
%li
.nothing-here-block No milestones to show
- else
- @milestones.each do |milestone|
= render 'milestone', milestone: milestone
= paginate @milestones, theme: 'gitlab'