debian-mirror-gitlab/app/views/groups/edit.html.haml

64 lines
3.1 KiB
Text
Raw Normal View History

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