Commit d1c76f02 authored by Frédéric Caplette's avatar Frédéric Caplette

Merge branch '326838-remove-code-owner-banner' into 'master'

Remove code owner ribbon move announcement from settings

See merge request gitlab-org/gitlab!62069
parents 152aa914 16eb2d74
...@@ -11,17 +11,6 @@ ...@@ -11,17 +11,6 @@
%fieldset.form-group %fieldset.form-group
%legend.h5.gl-border-none %legend.h5.gl-border-none
= _('Approval settings') = _('Approval settings')
- if project.code_owner_approval_required_available?
.gl-alert.gl-alert-info.gl-mb-4.fade.in.show{ role: "alert" }
%button.js-close.gl-alert-dismiss{ type: "button", 'data-dismiss': "alert", 'aria-label': "Close" }
%span
= sprite_icon('close', size: 16, css_class: 'gl-icon')
%span
- banner_url = project_settings_repository_path(project, anchor: 'js-protected-branches-settings')
- banner_link_start = '<a href="%{url}"><strong>'.html_safe % { url: banner_url }
= _('The "Require approval from CODEOWNERS" setting was moved to %{banner_link_start}Protected Branches%{banner_link_end}').html_safe % { banner_link_start: banner_link_start, banner_link_end: '</strong></a>'.html_safe}
= link_to sprite_icon('question-o'), help_page_path('user/project/protected_branches', anchor: 'protected-branches-approval-by-code-owners'), target: '_blank'
.gl-form-checkbox-group .gl-form-checkbox-group
.gl-form-checkbox.custom-control.custom-checkbox .gl-form-checkbox.custom-control.custom-checkbox
= form.check_box(:disable_overriding_approvers_per_merge_request, { class: 'custom-control-input', disabled: !can_modify_approvers }) = form.check_box(:disable_overriding_approvers_per_merge_request, { class: 'custom-control-input', disabled: !can_modify_approvers })
......
---
title: Remove code owner ribbon move announcement from settings
merge_request: 62069
author:
type: changed
...@@ -32145,9 +32145,6 @@ msgstr "" ...@@ -32145,9 +32145,6 @@ msgstr ""
msgid "The \"%{group_path}\" group allows you to sign in with your Single Sign-On Account" msgid "The \"%{group_path}\" group allows you to sign in with your Single Sign-On Account"
msgstr "" msgstr ""
msgid "The \"Require approval from CODEOWNERS\" setting was moved to %{banner_link_start}Protected Branches%{banner_link_end}"
msgstr ""
msgid "The %{featureName} feature is part of your GitLab Ultimate trial." msgid "The %{featureName} feature is part of your GitLab Ultimate trial."
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