BigW Consortium Gitlab

index.html.haml 527 Bytes
Newer Older
1
- page_title "Milestones"
2 3
.pull-right
  - if can? current_user, :admin_milestone, @project
4
    = link_to new_namespace_project_milestone_path(@project.namespace, @project), class: "pull-right btn btn-new", title: "New Milestone" do
5 6
      %i.fa.fa-plus
      New Milestone
7
= render 'shared/milestones_filter'
8

9 10 11 12
.milestones
  .panel.panel-default
    %ul.well-list
      = render @milestones
13

14 15 16 17 18
      - if @milestones.blank?
        %li
          .nothing-here-block No milestones to show

  = paginate @milestones, theme: "gitlab"