index.html.haml 551 Bytes
Newer Older
1
= render "projects/issues_nav"
2
.milestones_content
3
  %h3.page-title
4 5
    Milestones
    - if can? current_user, :admin_milestone, @project
6
      = link_to new_project_milestone_path(@project), class: "pull-right btn btn-new", title: "New Milestone" do
7
        %i.fa.fa-plus
8
        New Milestone
9

10
= render 'shared/milestones_filter'
11

12 13 14 15
.milestones
  .panel.panel-default
    %ul.well-list
      = render @milestones
16

17 18 19 20 21
      - if @milestones.blank?
        %li
          .nothing-here-block No milestones to show

  = paginate @milestones, theme: "gitlab"