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-05-28 11:02:04 -04:00
|
|
|
%section.settings.gs-general.no-animate#js-general-settings{ class: ('expanded' if expanded) }
|
2018-05-28 08:58:39 -04:00
|
|
|
.settings-header
|
|
|
|
%h4
|
2018-05-28 12:08:59 -04:00
|
|
|
= _('General')
|
2018-05-28 08:58:39 -04:00
|
|
|
%button.btn.js-settings-toggle{ type: 'button' }
|
|
|
|
= expanded ? _('Collapse') : _('Expand')
|
|
|
|
%p
|
|
|
|
= _('Update your group name, description, avatar, and other general settings.')
|
|
|
|
.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
|
|
|
|
%h4
|
|
|
|
= _('Permissions')
|
|
|
|
%button.btn.js-settings-toggle{ type: 'button' }
|
|
|
|
= expanded ? _('Collapse') : _('Expand')
|
|
|
|
%p
|
|
|
|
= _('Enable or disable certain group features and choose access levels.')
|
|
|
|
.settings-content
|
|
|
|
= render 'groups/settings/permissions'
|
|
|
|
|
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
|
|
|
|
%h4
|
2018-05-28 12:08:59 -04:00
|
|
|
= _('Advanced')
|
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
|