2021-10-08 14:13:02 -04:00
|
|
|
- breadcrumb_title _("General settings")
|
|
|
|
- page_title _("General settings")
|
2018-04-19 09:47:36 -04:00
|
|
|
- @content_class = "limit-container-width" unless fluid_layout
|
2019-04-29 11:01:28 -04:00
|
|
|
- expanded = expanded_by_default?
|
2018-05-28 08:58:39 -04:00
|
|
|
|
2021-04-12 17:11:12 -04:00
|
|
|
= render 'shared/namespaces/cascading_settings/lock_popovers'
|
2018-05-28 08:58:39 -04:00
|
|
|
|
2021-04-15 05:09:03 -04:00
|
|
|
%section.settings.gs-general.no-animate.expanded#js-general-settings
|
2018-05-28 08:58:39 -04:00
|
|
|
.settings-header
|
2018-10-15 09:36:19 -04:00
|
|
|
%h4.settings-title.js-settings-toggle.js-settings-toggle-trigger-only{ role: 'button' }
|
|
|
|
= _('Naming, visibility')
|
2022-06-14 14:09:25 -04:00
|
|
|
= render Pajamas::ButtonComponent.new(button_options: { class: 'js-settings-toggle' }) do
|
2018-10-15 09:36:19 -04:00
|
|
|
= _('Collapse')
|
2018-05-28 08:58:39 -04:00
|
|
|
%p
|
2018-10-15 09:36:19 -04:00
|
|
|
= _('Update your group name, description, avatar, and visibility.')
|
2021-10-08 14:13:02 -04:00
|
|
|
= link_to s_('Learn more about groups.'), help_page_path('user/group/index')
|
2018-05-28 08:58:39 -04:00
|
|
|
.settings-content
|
|
|
|
= render 'groups/settings/general'
|
|
|
|
|
2020-07-21 14:09:45 -04:00
|
|
|
%section.settings.gs-permissions.no-animate#js-permissions-settings{ class: ('expanded' if expanded), data: { qa_selector: 'permission_lfs_2fa_content' } }
|
2018-05-28 08:58:39 -04:00
|
|
|
.settings-header
|
2018-10-15 09:36:19 -04:00
|
|
|
%h4.settings-title.js-settings-toggle.js-settings-toggle-trigger-only{ role: 'button' }
|
2022-01-07 19:14:32 -05:00
|
|
|
= _('Permissions and group features')
|
2022-06-14 14:09:25 -04:00
|
|
|
= render Pajamas::ButtonComponent.new(button_options: { class: 'js-settings-toggle' }) do
|
2018-05-28 08:58:39 -04:00
|
|
|
= expanded ? _('Collapse') : _('Expand')
|
|
|
|
%p
|
2022-01-07 19:14:32 -05:00
|
|
|
= _('Configure advanced permissions, Large File Storage, two-factor authentication, and customer relations settings.')
|
2018-05-28 08:58:39 -04:00
|
|
|
.settings-content
|
|
|
|
= render 'groups/settings/permissions'
|
|
|
|
|
2021-02-03 07:09:12 -05:00
|
|
|
= render_if_exists 'groups/merge_request_approval_settings', expanded: expanded, group: @group, user: current_user
|
2019-03-05 12:50:27 -05:00
|
|
|
= render_if_exists 'groups/insights', expanded: expanded
|
|
|
|
|
2018-10-15 09:36:19 -04:00
|
|
|
%section.settings.no-animate#js-badge-settings{ class: ('expanded' if expanded) }
|
2018-09-03 09:16:23 -04:00
|
|
|
.settings-header
|
2018-10-15 09:36:19 -04:00
|
|
|
%h4.settings-title.js-settings-toggle.js-settings-toggle-trigger-only{ role: 'button' }
|
2018-09-03 09:16:23 -04:00
|
|
|
= s_('GroupSettings|Badges')
|
2022-06-14 14:09:25 -04:00
|
|
|
= render Pajamas::ButtonComponent.new(button_options: { class: 'js-settings-toggle' }) do
|
2019-10-15 14:06:01 -04:00
|
|
|
= expanded ? _('Collapse') : _('Expand')
|
2018-09-03 09:16:23 -04:00
|
|
|
%p
|
2020-12-21 22:10:23 -05:00
|
|
|
= s_('GroupSettings|Customize this group\'s badges.')
|
|
|
|
= link_to s_('GroupSettings|What are badges?'), help_page_path('user/project/badges')
|
2018-09-03 09:16:23 -04:00
|
|
|
.settings-content
|
|
|
|
= render 'shared/badges/badge_settings'
|
|
|
|
|
2020-12-11 10:10:04 -05:00
|
|
|
= render_if_exists 'groups/compliance_frameworks', expanded: expanded
|
2018-10-17 16:47:18 -04:00
|
|
|
= render_if_exists 'groups/custom_project_templates_setting'
|
2018-09-26 06:58:58 -04:00
|
|
|
= render_if_exists 'groups/templates_setting', expanded: expanded
|
|
|
|
|
2021-03-16 02:09:57 -04:00
|
|
|
%section.settings.gs-advanced.no-animate#js-advanced-settings{ class: ('expanded' if expanded), data: { qa_selector: 'advanced_settings_content' } }
|
2018-05-28 08:58:39 -04:00
|
|
|
.settings-header
|
2018-10-15 09:36:19 -04:00
|
|
|
%h4.settings-title.js-settings-toggle.js-settings-toggle-trigger-only{ role: 'button' }
|
2020-04-21 14:09:31 -04:00
|
|
|
= _('Advanced')
|
2022-06-14 14:09:25 -04:00
|
|
|
= render Pajamas::ButtonComponent.new(button_options: { class: 'js-settings-toggle' }) do
|
2018-05-28 08:58:39 -04:00
|
|
|
= expanded ? _('Collapse') : _('Expand')
|
|
|
|
%p
|
2020-04-21 14:09:31 -04:00
|
|
|
= _('Perform advanced options such as changing path, transferring, exporting, or removing the group.')
|
2018-05-28 08:58:39 -04:00
|
|
|
.settings-content
|
|
|
|
= render 'groups/settings/advanced'
|
2018-02-05 19:10:58 -05:00
|
|
|
|
2019-12-30 01:08:13 -05:00
|
|
|
= render_if_exists 'shared/groups/max_pages_size_setting'
|
|
|
|
|