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

63 lines
2.8 KiB
Text
Raw Normal View History

2019-12-21 20:55:43 +05:30
- breadcrumb_title _("General Settings")
2020-07-28 23:09:34 +05:30
- page_title _("General Settings")
2018-10-15 14:42:47 +05:30
- @content_class = "limit-container-width" unless fluid_layout
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')
2021-02-22 17:27:13 +05:30
%button.btn.gl-button.js-settings-toggle{ type: 'button' }
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.')
2018-11-08 19:23:39 +05:30
.settings-content
= render 'groups/settings/general'
2020-10-24 23:57:45 +05:30
%section.settings.gs-permissions.no-animate#js-permissions-settings{ class: ('expanded' if expanded), data: { qa_selector: 'permission_lfs_2fa_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' }
= _('Permissions, LFS, 2FA')
2021-02-22 17:27:13 +05:30
%button.btn.gl-button.js-settings-toggle{ type: 'button' }
2018-11-08 19:23:39 +05:30
= expanded ? _('Collapse') : _('Expand')
%p
2018-12-13 13:39:08 +05:30
= _('Advanced permissions, Large File Storage and Two-Factor authentication settings.')
2018-11-08 19:23:39 +05:30
.settings-content
= render 'groups/settings/permissions'
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
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')
2021-02-22 17:27:13 +05:30
%button.btn.gl-button.js-settings-toggle{ type: 'button' }
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')
2021-02-22 17:27:13 +05:30
%button.btn.gl-button.js-settings-toggle{ type: 'button' }
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'
2017-09-10 17:25:29 +05:30
= render 'shared/confirm_modal', phrase: @group.path