2015-09-11 14:41:01 +05:30
|
|
|
- page_title "Milestones"
|
2015-09-25 12:07:36 +05:30
|
|
|
= render "header_title"
|
2014-09-02 18:07:02 +05:30
|
|
|
|
2015-12-23 02:04:40 +05:30
|
|
|
|
|
|
|
.project-issuable-filter
|
|
|
|
.controls
|
|
|
|
- if can?(current_user, :admin_milestone, @project)
|
2015-09-25 12:07:36 +05:30
|
|
|
= link_to new_namespace_project_milestone_path(@project.namespace, @project), class: "pull-right btn btn-new", title: "New Milestone" do
|
|
|
|
%i.fa.fa-plus
|
|
|
|
New Milestone
|
2015-12-23 02:04:40 +05:30
|
|
|
|
|
|
|
= render 'shared/milestones_filter'
|
|
|
|
|
|
|
|
.gray-content-block
|
|
|
|
Milestone allows you to group issues and set due date for it
|
2015-09-25 12:07:36 +05:30
|
|
|
|
2015-04-26 12:48:37 +05:30
|
|
|
.milestones
|
2015-09-25 12:07:36 +05:30
|
|
|
%ul.content-list
|
|
|
|
= render @milestones
|
2014-09-02 18:07:02 +05:30
|
|
|
|
2015-09-25 12:07:36 +05:30
|
|
|
- if @milestones.blank?
|
|
|
|
%li
|
|
|
|
.nothing-here-block No milestones to show
|
2014-09-02 18:07:02 +05:30
|
|
|
|
2015-04-26 12:48:37 +05:30
|
|
|
= paginate @milestones, theme: "gitlab"
|