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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
1 KiB
Text
Raw Normal View History

2020-07-28 23:09:34 +05:30
- page_title _('Milestones')
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
2022-07-23 23:45:48 +05:30
%h1.page-title.gl-font-size-h-display= _('Milestones')
2018-12-13 13:39:08 +05:30
- if current_user
.page-title-controls
2023-04-23 21:23:45 +05:30
= render 'shared/new_project_item_vue_select'
2018-12-13 13:39:08 +05:30
2022-06-21 17:19:12 +05:30
- if @milestone_states.any? { |name, count| count > 0 }
.top-area
= render 'shared/milestones_filter', counts: @milestone_states
.nav-controls
= render 'shared/milestones/search_form'
2015-09-25 12:07:36 +05:30
2022-06-21 17:19:12 +05:30
- if @milestones.blank?
= render 'shared/empty_states/milestones_tab', active_tab: params[:state] do
- if current_user
.page-title-controls
2023-04-23 21:23:45 +05:30
= render 'shared/new_project_item_vue_select'
2022-06-21 17:19:12 +05:30
- else
.milestones
%ul.content-list
- @milestones.each do |milestone|
= render 'milestone', milestone: milestone
= paginate @milestones, theme: 'gitlab'
2021-03-11 19:13:27 +05:30
- else
2022-06-21 17:19:12 +05:30
= render 'shared/empty_states/milestones' do
- if current_user
.page-title-controls
2023-04-23 21:23:45 +05:30
= render 'shared/new_project_item_vue_select'