debian-mirror-gitlab/app/views/shared/milestones/_delete_button.html.haml

13 lines
551 B
Text
Raw Normal View History

2018-11-20 20:47:30 +05:30
- milestone_url = @milestone.project_milestone? ? project_milestone_path(@project, @milestone) : group_milestone_path(@group, @milestone)
2021-01-29 00:20:46 +05:30
%button.js-delete-milestone-button.btn.gl-button.btn-grouped.btn-danger{ data: { milestone_id: @milestone.id,
2018-11-20 20:47:30 +05:30
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-03-09 13:42:32 +05:30
.spinner.js-loading-icon.hidden
2018-11-20 20:47:30 +05:30
2021-01-03 14:25:43 +05:30
#js-delete-milestone-modal