Commit 399ae18b authored by Peter Hegman's avatar Peter Hegman

Merge branch...

Merge branch '273323-audit-and-update-buttons-on-projects-settings-repositorycontroller-show' into 'master'

Update buttons on Projects::Settings::RepositoryController#show

See merge request gitlab-org/gitlab!84793
parents 6d5426ca 3d12efbe
...@@ -20,4 +20,4 @@ ...@@ -20,4 +20,4 @@
- if can_admin_project - if can_admin_project
%td %td
= 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" = 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-danger btn-sm"
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