BigW Consortium Gitlab

index.html.haml 514 Bytes
Newer Older
1
- page_title "Milestones"
2

3 4 5 6
.top-area
  = render 'shared/milestones_filter'

  .nav-controls
7
    - if can?(current_user, :admin_milestone, @project)
8 9
      = link_to new_namespace_project_milestone_path(@project.namespace, @project), class: "btn btn-new", title: "New Milestone" do
        = icon('plus')
10
        New Milestone
11

12
.milestones
13 14
  %ul.content-list
    = render @milestones
15

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

  = paginate @milestones, theme: "gitlab"