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

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

9 lines
642 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)
2023-01-13 00:05:48 +05:30
= render Pajamas::ButtonComponent.new(variant: :danger,
button_options: { class: 'js-delete-milestone-button btn-grouped', data: { milestone_id: @milestone.id, 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 }) do
2022-05-07 20:08:51 +05:30
= gl_loading_icon(inline: true, css_class: "gl-mr-2 js-loading-icon hidden")
2018-11-20 20:47:30 +05:30
= _('Delete')
2021-01-03 14:25:43 +05:30
#js-delete-milestone-modal