2019-12-21 20:55:43 +05:30
|
|
|
- breadcrumb_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
|
|
|
|
|
|
|
|
2018-12-13 13:39:08 +05:30
|
|
|
%section.settings.gs-general.no-animate#js-general-settings{ class: ('expanded') }
|
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')
|
2018-11-08 19:23:39 +05:30
|
|
|
%button.btn.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'
|
|
|
|
|
2019-12-04 20:38:33 +05:30
|
|
|
%section.settings.gs-permissions.no-animate#js-permissions-settings{ class: ('expanded' if expanded), data: { qa_selector: 'permission_lfs_2fa_section' } }
|
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')
|
2018-11-08 19:23:39 +05:30
|
|
|
%button.btn.js-settings-toggle{ type: 'button' }
|
|
|
|
= 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'
|
|
|
|
|
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')
|
|
|
|
%button.btn.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
|
|
|
|
= 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'
|
|
|
|
|
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
|
|
|
|
|
2018-11-08 19:23:39 +05:30
|
|
|
%section.settings.gs-advanced.no-animate#js-advanced-settings{ class: ('expanded' if expanded) }
|
|
|
|
.settings-header
|
2018-12-13 13:39:08 +05:30
|
|
|
%h4.settings-title.js-settings-toggle.js-settings-toggle-trigger-only{ role: 'button' }
|
|
|
|
= _('Path, transfer, remove')
|
2018-11-08 19:23:39 +05:30
|
|
|
%button.btn.js-settings-toggle{ type: 'button' }
|
|
|
|
= expanded ? _('Collapse') : _('Expand')
|
|
|
|
%p
|
|
|
|
= _('Perform advanced options such as changing path, transferring, or removing the group.')
|
|
|
|
.settings-content
|
|
|
|
= render 'groups/settings/advanced'
|
2018-03-17 18:26:18 +05:30
|
|
|
|
2020-03-09 13:42:32 +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
|