2019-10-15 14:06:01 -04:00
|
|
|
- breadcrumb_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
|
|
|
|
|
|
|
|
2018-10-15 09:36:19 -04:00
|
|
|
%section.settings.gs-general.no-animate#js-general-settings{ class: ('expanded') }
|
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')
|
2018-05-28 08:58:39 -04:00
|
|
|
%button.btn.js-settings-toggle{ type: 'button' }
|
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.')
|
2018-05-28 08:58:39 -04:00
|
|
|
.settings-content
|
|
|
|
= render 'groups/settings/general'
|
|
|
|
|
2019-08-27 01:48:04 -04:00
|
|
|
%section.settings.gs-permissions.no-animate#js-permissions-settings{ class: ('expanded' if expanded), data: { qa_selector: 'permission_lfs_2fa_section' } }
|
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' }
|
|
|
|
= _('Permissions, LFS, 2FA')
|
2018-05-28 08:58:39 -04:00
|
|
|
%button.btn.js-settings-toggle{ type: 'button' }
|
|
|
|
= expanded ? _('Collapse') : _('Expand')
|
|
|
|
%p
|
2018-10-15 09:36:19 -04:00
|
|
|
= _('Advanced permissions, Large File Storage and Two-Factor authentication settings.')
|
2018-05-28 08:58:39 -04:00
|
|
|
.settings-content
|
|
|
|
= render 'groups/settings/permissions'
|
|
|
|
|
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')
|
|
|
|
%button.btn.js-settings-toggle{ type: 'button' }
|
2019-10-15 14:06:01 -04:00
|
|
|
= expanded ? _('Collapse') : _('Expand')
|
2018-09-03 09:16:23 -04:00
|
|
|
%p
|
|
|
|
= s_('GroupSettings|Customize your group badges.')
|
|
|
|
= link_to s_('GroupSettings|Learn more about badges.'), help_page_path('user/project/badges')
|
|
|
|
.settings-content
|
|
|
|
= render 'shared/badges/badge_settings'
|
|
|
|
|
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
|
|
|
|
|
2018-05-28 11:02:04 -04:00
|
|
|
%section.settings.gs-advanced.no-animate#js-advanced-settings{ class: ('expanded' if expanded) }
|
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')
|
2018-05-28 08:58:39 -04:00
|
|
|
%button.btn.js-settings-toggle{ type: 'button' }
|
|
|
|
= 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'
|
|
|
|
|
2017-07-04 11:18:51 -04:00
|
|
|
= render 'shared/confirm_modal', phrase: @group.path
|