BigW Consortium Gitlab

index.html.haml 539 Bytes
Newer Older
1
- page_title "Milestones"
2
= render "header_title"
3

4

5 6 7 8
.top-area
  = render 'shared/milestones_filter'

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

14
.milestones
15 16
  %ul.content-list
    = render @milestones
17

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

  = paginate @milestones, theme: "gitlab"