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')
|
2016-01-14 18:37:52 +05:30
|
|
|
- page_description @milestone.description
|
|
|
|
|
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
|
|
|
|
2019-12-04 20:38:33 +05:30
|
|
|
- if can?(current_user, :read_issue, @project) && @milestone.total_issues_count(current_user).zero?
|
|
|
|
.alert.alert-success.prepend-top-default
|
|
|
|
%span= _('Assign some issues to this milestone.')
|
|
|
|
- elsif @milestone.complete?(current_user) && @milestone.active?
|
|
|
|
.alert.alert-success.prepend-top-default
|
|
|
|
%span= _('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
|