debian-mirror-gitlab/app/views/groups/settings/_git_access_protocols.html.haml
2022-07-23 20:15:48 +02:00

7 lines
676 B
Text

- if group.root? && Feature.enabled?(:group_level_git_protocol_control, group)
.form-group
= f.label s_('Enabled Git access protocols'), class: 'label-bold'
= f.select :enabled_git_access_protocol, options_for_select(enabled_git_access_protocol_options_for_group, group.enabled_git_access_protocol), {}, class: 'form-control', data: { qa_selector: 'enabled_git_access_protocol_dropdown' }, disabled: !::Gitlab::CurrentSettings.enabled_git_access_protocol.blank?
- if !::Gitlab::CurrentSettings.enabled_git_access_protocol.blank?
.form-text.text-muted
= _("This setting has been configured at the instance level and cannot be overridden per group")