Commit db2bd47a authored by Kushal Pandya's avatar Kushal Pandya

Merge branch...

Merge branch '344175-replace-data-confirm-modals-with-glmodal-in-app-views-projects-protected_tags-shared' into 'master'

Use `GlModal` in `_protected_tag.html.haml`

See merge request gitlab-org/gitlab!80357
parents 682f7a54 989a28c1
...@@ -19,4 +19,4 @@ ...@@ -19,4 +19,4 @@
- if can? current_user, :admin_project, @project - if can? current_user, :admin_project, @project
%td %td
= link_to 'Unprotect', [@project, protected_tag, { update_section: 'js-protected-tags-settings' }], data: { confirm: 'Tag will be writable for developers. Are you sure?' }, method: :delete, class: 'gl-button btn btn-danger-secondary' = link_to 'Unprotect', [@project, protected_tag, { update_section: 'js-protected-tags-settings' }], aria: { label: s_('ProtectedTags|Unprotect tag') }, data: { confirm: 'Tag will be writable for developers. Are you sure?', confirm_btn_variant: 'danger' }, method: :delete, class: 'gl-button btn btn-danger-secondary'
...@@ -29352,6 +29352,9 @@ msgstr "" ...@@ -29352,6 +29352,9 @@ msgstr ""
msgid "ProtectedEnvironment|Your environment has been unprotected" msgid "ProtectedEnvironment|Your environment has been unprotected"
msgstr "" msgstr ""
msgid "ProtectedTags|Unprotect tag"
msgstr ""
msgid "ProtectedTags|default" msgid "ProtectedTags|default"
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