gitlab-org--gitlab-foss/app/views/groups/milestones/index.html.haml

21 lines
621 B
Text
Raw Normal View History

2015-04-30 13:06:18 -04:00
- page_title "Milestones"
.top-area
= render 'shared/milestones_filter', counts: @milestone_states
.nav-controls
= render 'shared/milestones/search_form'
= render 'shared/milestones_sort_dropdown'
2018-08-06 15:02:52 -04:00
- if can?(current_user, :admin_milestone, @group)
= link_to "New milestone", new_group_milestone_path(@group), class: "btn btn-success"
2015-01-06 15:32:04 -05:00
.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"