2018-08-06 19:02:52 +00:00
|
|
|
- milestone_url = @milestone.project_milestone? ? project_milestone_path(@project, @milestone) : group_milestone_path(@group, @milestone)
|
|
|
|
|
2020-11-04 18:08:42 +00:00
|
|
|
%button.js-delete-milestone-button.btn.gl-button.btn-grouped.btn-danger{ data: { milestone_id: @milestone.id,
|
2018-08-06 19:02:52 +00:00
|
|
|
milestone_title: markdown_field(@milestone, :title),
|
|
|
|
milestone_url: milestone_url,
|
|
|
|
milestone_issue_count: @milestone.issues.count,
|
|
|
|
milestone_merge_request_count: @milestone.merge_requests.count },
|
|
|
|
disabled: true }
|
|
|
|
= _('Delete')
|
2020-02-14 09:08:43 +00:00
|
|
|
.spinner.js-loading-icon.hidden
|
2018-08-06 19:02:52 +00:00
|
|
|
|
2020-10-06 18:08:49 +00:00
|
|
|
#js-delete-milestone-modal
|