Commit e7b44596 authored by Sharmad Nachnolkar's avatar Sharmad Nachnolkar Committed by Natalia Tepluhina

Use `GlModal` in `_protected_branch.html.haml`

parent 14713239
......@@ -20,4 +20,4 @@
- if can_admin_project
%td
= link_to s_('ProtectedBranch|Unprotect'), [@project, protected_branch, { update_section: 'js-protected-branches-settings' }], disabled: local_assigns[:disabled], data: { confirm: s_('ProtectedBranch|Branch will be writable for developers. Are you sure?') }, method: :delete, class: "btn gl-button btn-warning"
= link_to s_('ProtectedBranch|Unprotect'), [@project, protected_branch, { update_section: 'js-protected-branches-settings' }], disabled: local_assigns[:disabled], aria: { label: s_('ProtectedBranch|Unprotect branch') }, data: { confirm: s_('ProtectedBranch|Branch will be writable for developers. Are you sure?'), confirm_btn_variant: 'danger' }, method: :delete, class: "btn gl-button btn-warning"
......@@ -29286,6 +29286,9 @@ msgstr ""
msgid "ProtectedBranch|Unprotect"
msgstr ""
msgid "ProtectedBranch|Unprotect branch"
msgstr ""
msgid "ProtectedBranch|What are protected branches?"
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