2017-08-16 05:35:59 -04:00
|
|
|
- breadcrumb_title "General Settings"
|
2018-04-19 09:47:36 -04:00
|
|
|
- @content_class = "limit-container-width" unless fluid_layout
|
2018-05-28 08:58:39 -04:00
|
|
|
- expanded = Rails.env.test?
|
|
|
|
|
|
|
|
|
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'
|
|
|
|
|
2018-05-28 11:02:04 -04:00
|
|
|
%section.settings.gs-permissions.no-animate#js-permissions-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' }
|
|
|
|
= _('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'
|
|
|
|
|
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' }
|
|
|
|
= expanded ? 'Collapse' : 'Expand'
|
|
|
|
%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' }
|
|
|
|
= _('Path, transfer, remove')
|
2018-05-28 08:58:39 -04:00
|
|
|
%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-02-05 19:10:58 -05:00
|
|
|
|
2017-07-04 11:18:51 -04:00
|
|
|
= render 'shared/confirm_modal', phrase: @group.path
|