Commit aa9747ca authored by Olena Horal-Koretska's avatar Olena Horal-Koretska

Merge branch...

Merge branch '344186-replace-data-confirm-modals-with-glmodal-in-ee-app-views-shared-issuable-remove_approver' into 'master'

Remove unused partial remove_approver

See merge request gitlab-org/gitlab!80582
parents 6f55895f 6381f48c
...@@ -75,8 +75,6 @@ ...@@ -75,8 +75,6 @@
- if can?(current_user, :"destroy_#{issuable.to_ability_name}", @project) - if can?(current_user, :"destroy_#{issuable.to_ability_name}", @project)
= link_to 'Delete', polymorphic_path([@project, issuable], params: { destroy_confirm: true }), data: { confirm: _('%{issuableType} will be removed! Are you sure?') % { issuableType: issuable.human_class_name } }, method: :delete, class: 'btn gl-button btn-danger btn-danger-secondary gl-float-right' = link_to 'Delete', polymorphic_path([@project, issuable], params: { destroy_confirm: true }), data: { confirm: _('%{issuableType} will be removed! Are you sure?') % { issuableType: issuable.human_class_name } }, method: :delete, class: 'btn gl-button btn-danger btn-danger-secondary gl-float-right'
= render_if_exists 'shared/issuable/remove_approver'
- if issuable.respond_to?(:issue_type) - if issuable.respond_to?(:issue_type)
= form.hidden_field :issue_type = form.hidden_field :issue_type
......
%li.unsaved-approvers.hide.approver.approver-template{ id: "user_{user_id}" }
= link_to "{approver_name}", "#"
.float-right
= link_to "#", data: { confirm: "Are you sure you want to remove approver {approver_name}"}, class: "btn-sm btn btn-danger gl-button", title: _('Remove approver') do
= sprite_icon("close", css_class: "gl-icon")
= _("Remove")
...@@ -30154,9 +30154,6 @@ msgstr "" ...@@ -30154,9 +30154,6 @@ msgstr ""
msgid "Remove all or specific reviewer(s)" msgid "Remove all or specific reviewer(s)"
msgstr "" msgstr ""
msgid "Remove approver"
msgstr ""
msgid "Remove approvers" msgid "Remove approvers"
msgstr "" msgstr ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment