BigW Consortium Gitlab

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

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

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

11
.row-content-block
12 13 14
  Only milestones from
  %strong #{@group.name}
  group are listed here.
15

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