2015-04-30 13:06:18 -04:00
|
|
|
- page_title "Milestones"
|
2017-07-03 07:51:35 -04:00
|
|
|
|
2016-02-03 12:41:55 -05:00
|
|
|
.top-area
|
2016-12-12 23:29:12 -05:00
|
|
|
= render 'shared/milestones_filter', counts: @milestone_states
|
2015-12-02 08:02:12 -05:00
|
|
|
|
2017-09-06 04:38:48 -04:00
|
|
|
.nav-controls
|
2017-11-07 13:57:30 -05:00
|
|
|
= render 'shared/milestones_sort_dropdown'
|
2018-08-06 15:02:52 -04:00
|
|
|
- if can?(current_user, :admin_milestone, @group)
|
2017-07-03 07:51:35 -04:00
|
|
|
= link_to "New milestone", new_group_milestone_path(@group), class: "btn btn-new"
|
2016-02-03 12:41:55 -05:00
|
|
|
|
2015-01-06 15:32:04 -05:00
|
|
|
.milestones
|
2015-09-07 07:18:11 -04:00
|
|
|
%ul.content-list
|
2015-11-13 13:20:48 -05:00
|
|
|
- if @milestones.blank?
|
2015-09-07 07:18:11 -04:00
|
|
|
%li
|
|
|
|
.nothing-here-block No milestones to show
|
|
|
|
- else
|
2015-11-13 13:20:48 -05:00
|
|
|
- @milestones.each do |milestone|
|
2015-09-07 07:18:11 -04:00
|
|
|
= render 'milestone', milestone: milestone
|
2015-11-13 13:20:48 -05:00
|
|
|
= paginate @milestones, theme: "gitlab"
|