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

19 lines
527 B
Plaintext
Raw Normal View History

2015-04-30 17:06:18 +00:00
- page_title "Milestones"
2015-02-19 23:56:23 +00:00
.pull-right
- if can? current_user, :admin_milestone, @project
= 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"