debian-mirror-gitlab/app/views/projects/milestones/index.html.haml

24 lines
693 B
Text
Raw Normal View History

- @no_container = true
2017-08-17 22:00:37 +05:30
- page_title 'Milestones'
= render "shared/mr_head"
2014-09-02 18:07:02 +05:30
2016-08-24 12:49:21 +05:30
%div{ class: container_class }
.top-area
2017-08-17 22:00:37 +05:30
= render 'shared/milestones_filter', counts: milestone_counts(@project.milestones)
2015-12-23 02:04:40 +05:30
.nav-controls
2017-08-17 22:00:37 +05:30
= render 'shared/milestones_sort_dropdown'
- if can?(current_user, :admin_milestone, @project)
2017-08-17 22:00:37 +05:30
= 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
.milestones
%ul.content-list
= render @milestones
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
2017-08-17 22:00:37 +05:30
= paginate @milestones, theme: 'gitlab'