BigW Consortium Gitlab

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

4 5 6 7 8 9 10 11 12 13 14
.project-issuable-filter
  .controls
    - if can?(current_user, :admin_milestones, @group)
      .pull-right
        %span.pull-right.hidden-xs
          = link_to new_group_milestone_path(@group), class: "btn btn-new" do
            = icon('plus')
            New Milestone

  = render 'shared/milestones_filter'

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

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