Commit 104956b9 authored by Jose Ivan Vargas's avatar Jose Ivan Vargas

Merge branch...

Merge branch '344158-replace-data-confirm-modals-with-glmodal-in-app-views-projects-branches-index-html-haml' into 'master'

Replace `data-confirm` modals with `GlModal` in project branches

See merge request gitlab-org/gitlab!80115
parents a501092d 0e7fa49d
......@@ -16,7 +16,9 @@
class: 'gl-button btn btn-danger btn-danger-secondary has-tooltip qa-delete-merged-branches',
title: s_("Branches|Delete all branches that are merged into '%{default_branch}'") % { default_branch: @project.repository.root_ref },
method: :delete,
aria: { label: s_('Branches|Delete merged branches') },
data: { confirm: s_('Branches|Deleting the merged branches cannot be undone. Are you sure?'),
confirm_btn_variant: 'danger',
container: 'body' } do
= s_('Branches|Delete merged branches')
= link_to new_project_branch_path(@project), class: 'gl-button btn btn-confirm' do
......
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