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

23 lines
539 B
Text
Raw Normal View History

2015-04-30 13:06:18 -04:00
- page_title "Milestones"
= render "header_title"
2012-04-08 17:28:58 -04:00
.top-area
= render 'shared/milestones_filter'
.nav-controls
- if can?(current_user, :admin_milestone, @project)
= link_to new_namespace_project_milestone_path(@project.namespace, @project), class: "btn btn-new", title: "New Milestone" do
= icon('plus')
New Milestone
2015-01-06 15:32:04 -05:00
.milestones
%ul.content-list
= render @milestones
2013-05-23 04:44:24 -04:00
- if @milestones.blank?
%li
.nothing-here-block No milestones to show
2015-01-06 15:32:04 -05:00
= paginate @milestones, theme: "gitlab"