BigW Consortium Gitlab

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

3
.top-area
4
  = render 'shared/milestones_filter', counts: @milestone_states
5

6
  .nav-controls
7
    = render 'shared/milestones_sort_dropdown'
8
    - if can?(current_user, :admin_milestones, @group)
9
      = link_to "New milestone", new_group_milestone_path(@group), class: "btn btn-new"
10

11
.milestones
12
  %ul.content-list
13
    - if @milestones.blank?
14 15 16
      %li
        .nothing-here-block No milestones to show
    - else
17
      - @milestones.each do |milestone|
18
        = render 'milestone', milestone: milestone
19
  = paginate @milestones, theme: "gitlab"