2015-02-19 23:56:23 +00:00
|
|
|
.pull-right
|
|
|
|
- if can? current_user, :admin_milestone, @project
|
2015-02-20 03:53:05 +00:00
|
|
|
= link_to new_namespace_project_milestone_path(@project.namespace, @project), class: "pull-right btn btn-new", title: "New Milestone" do
|
2015-02-19 23:56:23 +00:00
|
|
|
%i.fa.fa-plus
|
|
|
|
New Milestone
|
2015-01-06 20:32:04 +00:00
|
|
|
= render 'shared/milestones_filter'
|
2012-04-08 21:28:58 +00:00
|
|
|
|
2015-01-06 20:32:04 +00:00
|
|
|
.milestones
|
|
|
|
.panel.panel-default
|
|
|
|
%ul.well-list
|
|
|
|
= render @milestones
|
2013-05-23 08:44:24 +00:00
|
|
|
|
2015-01-06 20:32:04 +00:00
|
|
|
- if @milestones.blank?
|
|
|
|
%li
|
|
|
|
.nothing-here-block No milestones to show
|
|
|
|
|
|
|
|
= paginate @milestones, theme: "gitlab"
|