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

29 lines
780 B
Text
Raw Normal View History

2015-09-11 14:41:01 +05:30
- page_title "Milestones"
2015-09-25 12:07:36 +05:30
- header_title group_title(@group, "Milestones", group_milestones_path(@group))
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_milestones, @group)
.pull-right
%span.pull-right.hidden-xs
= link_to new_group_milestone_path(@group), class: "btn btn-new" do
= icon('plus')
New Milestone
= render 'shared/milestones_filter'
2015-09-25 12:07:36 +05:30
.gray-content-block
2015-12-23 02:04:40 +05:30
Only milestones from
%strong #{@group.name}
group are listed here.
2015-11-26 14:37:03 +05:30
2015-04-26 12:48:37 +05:30
.milestones
2015-09-25 12:07:36 +05:30
%ul.content-list
2015-11-26 14:37:03 +05:30
- if @milestones.blank?
2015-09-25 12:07:36 +05:30
%li
.nothing-here-block No milestones to show
- else
2015-11-26 14:37:03 +05:30
- @milestones.each do |milestone|
2015-09-25 12:07:36 +05:30
= render 'milestone', milestone: milestone
2015-11-26 14:37:03 +05:30
= paginate @milestones, theme: "gitlab"