Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/protected_branches/shared/_branches_list.html.haml')
-rw-r--r--app/views/projects/protected_branches/shared/_branches_list.html.haml6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/projects/protected_branches/shared/_branches_list.html.haml b/app/views/projects/protected_branches/shared/_branches_list.html.haml
index f07de81d7fd..522e9888bc6 100644
--- a/app/views/projects/protected_branches/shared/_branches_list.html.haml
+++ b/app/views/projects/protected_branches/shared/_branches_list.html.haml
@@ -23,6 +23,12 @@
%th
= s_("ProtectedBranch|Allowed to push")
+ - if ::Feature.enabled?(:allow_force_push_to_protected_branches, @project)
+ %th
+ = s_("ProtectedBranch|Allow force push")
+ %span.has-tooltip{ data: { container: 'body' }, title: s_('ProtectedBranch|Allow force push for all users with push access.'), 'aria-hidden': 'true' }
+ = sprite_icon('question', size: 16, css_class: 'gl-text-gray-500')
+
= render_if_exists 'projects/protected_branches/ee/code_owner_approval_table_head'
- if can_admin_project