summaryrefslogtreecommitdiff
path: root/app/views/groups/milestones/index.html.haml
blob: ab307708b7549c572554e8a7374d054d342c3535 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
- page_title "Milestones"
- header_title group_title(@group, "Milestones", group_milestones_path(@group))

.top-area
  = render 'shared/milestones_filter'

  .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

.gray-content-block
  Only milestones from
  %strong #{@group.name}
  group are listed here.

.milestones
  %ul.content-list
    - if @milestones.blank?
      %li
        .nothing-here-block No milestones to show
    - else
      - @milestones.each do |milestone|
        = render 'milestone', milestone: milestone
  = paginate @milestones, theme: "gitlab"