Commit 9e229e1d authored by Olena Horal-Koretska's avatar Olena Horal-Koretska

Merge branch '344157-no-repo-delete-modal-ui-polish' into 'master'

Use danger variant for project delete modal

See merge request gitlab-org/gitlab!80263
parents 9a18d3af cf1fdd53
......@@ -23,4 +23,4 @@
- if can? current_user, :remove_project, @project
.prepend-top-20
= link_to _('Delete project'), project_path(@project), data: { confirm: remove_project_message(@project)}, method: :delete, class: "btn gl-button btn-danger float-right"
= link_to _('Delete project'), project_path(@project), data: { confirm: remove_project_message(@project), confirm_btn_variant: 'danger' }, aria: { label: _('Delete project') }, method: :delete, class: "btn gl-button btn-danger float-right"
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