You’re about to permanently delete the protected branch
=succeed'.'do
%strong.js-branch-name.ref-name [branch name]
-branch_name=capturedo
%strong.js-branch-name.ref-name>[branch name]
=s_('Branches|You’re about to permanently delete the protected branch %{branch_name}.').html_safe%{branch_name: branch_name}
%p.js-not-merged
-default_branch=capturedo
%span.ref-name=@repository.root_ref
=s_("Branches|This branch hasn’t been merged into %{default_branch}.").html_safe%{default_branch: default_branch}
=s_("Branches|To avoid data loss, consider merging this branch before deleting it.")
=s_('Branches|This branch hasn’t been merged into %{default_branch}.').html_safe%{default_branch: default_branch}
=s_('Branches|To avoid data loss, consider merging this branch before deleting it.')
%p
Once you confirm and press
=succeed','do
%strong Delete protected branch
it cannot be undone or recovered.
-delete_protected_branch=capturedo
%strong
=s_('Branches|Delete protected branch')
=s_('Branches|Once you confirm and press %{delete_protected_branch}, it cannot be undone or recovered.').html_safe%{delete_protected_branch: delete_protected_branch}
%p
%strong To confirm, type
-branch_name_confirmation=capturedo
%kbd.js-branch-name [branch name]
%strong
=s_('Branches|To confirm, type %{branch_name_confirmation}:').html_safe%{branch_name_confirmation: branch_name_confirmation}
=link_toproject_merged_branches_path(@project),class: 'btn btn-inverted btn-remove has-tooltip',title: "Delete all branches that are merged into '#{@project.repository.root_ref}'",method: :delete,data: {confirm: "Deleting the merged branches cannot be undone. Are you sure?",container: 'body'}do
Delete merged branches
=link_toproject_merged_branches_path(@project),
class: 'btn btn-inverted btn-remove has-tooltip',
title: s_("Branches|Delete all branches that are merged into '%{default_branch}'")%{default_branch: @project.repository.root_ref},
method: :delete,
data: {confirm: s_('Branches|Deleting the merged branches cannot be undone. Are you sure?'),