index.html.haml 557 Bytes
Newer Older
1
- page_title "Milestones"
Phil Hughes's avatar
Phil Hughes committed
2

Alfredo Sumaran's avatar
Alfredo Sumaran committed
3
= render "groups/head_issues"
4

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

8
  .nav-controls
9
    - if can?(current_user, :admin_milestones, @group)
Phil Hughes's avatar
Phil Hughes committed
10
      = link_to "New milestone", new_group_milestone_path(@group), class: "btn btn-new"
11

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