26 lines
655 B
Plaintext
26 lines
655 B
Plaintext
- page_title "Milestones"
|
|
= render "groups/head_issues"
|
|
|
|
.top-area
|
|
= render 'shared/milestones_filter', counts: @milestone_states
|
|
|
|
.nav-controls
|
|
- if can?(current_user, :admin_milestones, @group)
|
|
= link_to new_group_milestone_path(@group), class: "btn btn-new" do
|
|
New milestone
|
|
|
|
.row-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"
|