index.html.haml 637 Bytes
Newer Older
1
- @no_container = true
2
- page_title 'Milestones'
3

Valery Sizov's avatar
Valery Sizov committed
4
%div{ class: container_class }
5
  .top-area
6
    = render 'shared/milestones_filter', counts: milestone_counts(@project.milestones)
7

8
    .nav-controls
9
      = render 'shared/milestones_sort_dropdown'
10
      - if can?(current_user, :admin_milestone, @project)
11
        = link_to new_project_milestone_path(@project), class: "btn btn-new", title: 'New milestone' do
12
          New milestone
13

14 15 16
  .milestones
    %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'