- page_title "Milestones"
- header_title "Milestones", dashboard_milestones_path

.project-issuable-filter
  .controls
    = render 'shared/new_project_item_select', path: 'milestones/new', label: "New Milestone", include_groups: true

  = render 'shared/milestones_filter'

.gray-content-block
  List all milestones from all projects you have access to.

.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"
