2016-06-16 23:09:34 +05:30
|
|
|
- @no_container = true
|
2015-09-11 14:41:01 +05:30
|
|
|
- page_title "Milestones"
|
2016-06-16 23:09:34 +05:30
|
|
|
= render "projects/issues/head"
|
2014-09-02 18:07:02 +05:30
|
|
|
|
2016-08-24 12:49:21 +05:30
|
|
|
%div{ class: container_class }
|
2016-06-16 23:09:34 +05:30
|
|
|
.top-area
|
|
|
|
= render 'shared/milestones_filter'
|
2015-12-23 02:04:40 +05:30
|
|
|
|
2016-06-16 23:09:34 +05:30
|
|
|
.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
|
|
|
|
New Milestone
|
2015-12-23 02:04:40 +05:30
|
|
|
|
2016-06-16 23:09:34 +05:30
|
|
|
.milestones
|
|
|
|
%ul.content-list
|
|
|
|
= render @milestones
|
2015-09-25 12:07:36 +05:30
|
|
|
|
2016-06-16 23:09:34 +05:30
|
|
|
- if @milestones.blank?
|
|
|
|
%li
|
|
|
|
.nothing-here-block No milestones to show
|
2014-09-02 18:07:02 +05:30
|
|
|
|
2016-06-16 23:09:34 +05:30
|
|
|
= paginate @milestones, theme: "gitlab"
|