2017-09-10 17:25:29 +05:30
|
|
|
- @hide_top_links = true
|
2020-07-28 23:09:34 +05:30
|
|
|
- page_title _('Milestones')
|
|
|
|
- header_title _('Milestones'), dashboard_milestones_path
|
2021-01-03 14:25:43 +05:30
|
|
|
- add_page_specific_style 'page_bundles/milestone'
|
2015-04-26 12:48:37 +05:30
|
|
|
|
2019-07-31 22:56:46 +05:30
|
|
|
.page-title-holder.d-flex.align-items-center
|
2018-12-13 13:39:08 +05:30
|
|
|
%h1.page-title= _('Milestones')
|
|
|
|
|
|
|
|
- if current_user
|
|
|
|
.page-title-controls
|
|
|
|
= render 'shared/new_project_item_select',
|
2019-09-30 21:07:59 +05:30
|
|
|
path: '-/milestones/new', label: 'New milestone',
|
2018-12-13 13:39:08 +05:30
|
|
|
include_groups: true, type: :milestones
|
|
|
|
|
2016-04-02 18:10:28 +05:30
|
|
|
.top-area
|
2017-08-17 22:00:37 +05:30
|
|
|
= render 'shared/milestones_filter', counts: @milestone_states
|
2019-03-02 22:35:43 +05:30
|
|
|
.nav-controls
|
|
|
|
= render 'shared/milestones/search_form'
|
2015-09-25 12:07:36 +05:30
|
|
|
|
2021-03-11 19:13:27 +05:30
|
|
|
- if @milestones.blank?
|
|
|
|
= render 'shared/empty_states/milestones'
|
|
|
|
- else
|
|
|
|
.milestones
|
|
|
|
%ul.content-list
|
2015-11-26 14:37:03 +05:30
|
|
|
- @milestones.each do |milestone|
|
2015-09-25 12:07:36 +05:30
|
|
|
= render 'milestone', milestone: milestone
|
2021-03-11 19:13:27 +05:30
|
|
|
= paginate @milestones, theme: 'gitlab'
|