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

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

26 lines
1.3 KiB
Text
Raw Normal View History

2019-03-02 22:35:43 +05:30
- add_to_breadcrumbs _('Milestones'), project_milestones_path(@project)
2018-03-17 18:26:18 +05:30
- breadcrumb_title @milestone.title
2019-03-02 22:35:43 +05:30
- page_title @milestone.title, _('Milestones')
2021-01-03 14:25:43 +05:30
- page_description @milestone.description_html
- add_page_specific_style 'page_bundles/milestone'
2021-06-08 01:23:25 +05:30
- add_page_startup_api_call milestone_tab_path(@milestone, 'issues', show_project_name: false)
2019-12-26 22:10:19 +05:30
= render 'shared/milestones/header', milestone: @milestone
= render 'shared/milestones/description', milestone: @milestone
2014-09-02 18:07:02 +05:30
2019-12-04 20:38:33 +05:30
= render_if_exists 'shared/milestones/burndown', milestone: @milestone, project: @project
2018-11-08 19:23:39 +05:30
2020-10-24 23:57:45 +05:30
- if can?(current_user, :read_issue, @project) && @milestone.total_issues_count == 0
2022-06-21 17:19:12 +05:30
= render Pajamas::AlertComponent.new(dismissible: false,
2022-07-23 23:45:48 +05:30
alert_options: { class: 'gl-mt-3 gl-mb-5',
data: { testid: 'no-issues-alert' }}) do |c|
2022-07-16 23:28:13 +05:30
= c.body do
2021-09-30 23:02:18 +05:30
= _('Assign some issues to this milestone.')
- else
= render 'shared/milestones/milestone_complete_alert', milestone: @milestone do
= _('All issues for this milestone are closed. You may close this milestone now.')
2016-04-02 18:10:28 +05:30
2019-12-04 20:38:33 +05:30
= render 'shared/milestones/tabs', milestone: @milestone
= render 'shared/milestones/sidebar', milestone: @milestone, project: @project, affix_offset: 153