gitlab-org--gitlab-foss/app/views/groups/milestones/index.html.haml
Phil Hughes 6184197fb0 more action button movements
fixed eslint failures
fixed project select dropdown not working on some pages
2017-07-03 12:51:35 +01:00

28 lines
882 B
Text

- page_title "Milestones"
- if show_new_nav? && can?(current_user, :admin_milestones, @group)
- content_for :breadcrumbs_extra do
= link_to "New milestone", new_group_milestone_path(@group), class: "btn btn-new"
= render "groups/head_issues"
.top-area
= render 'shared/milestones_filter', counts: @milestone_states
.nav-controls{ class: ("visible-xs" if show_new_nav?) }
- if can?(current_user, :admin_milestones, @group)
= link_to "New milestone", new_group_milestone_path(@group), class: "btn btn-new"
.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"