BigW Consortium Gitlab

index.html.haml 704 Bytes
Newer Older
1
- page_title "Milestones"
2
- header_title group_title(@group, "Milestones", group_milestones_path(@group))
3

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

7 8 9 10 11 12
  .nav-controls
    - if can?(current_user, :admin_milestones, @group)
      = link_to new_group_milestone_path(@group), class: "btn btn-new" do
        = icon('plus')
        New Milestone

13
.gray-content-block
14 15 16
  Only milestones from
  %strong #{@group.name}
  group are listed here.
17

18
.milestones
19
  %ul.content-list
20
    - if @milestones.blank?
21 22 23
      %li
        .nothing-here-block No milestones to show
    - else
24
      - @milestones.each do |milestone|
25
        = render 'milestone', milestone: milestone
26
  = paginate @milestones, theme: "gitlab"