2018-03-17 18:26:18 +05:30
|
|
|
- breadcrumb_title "General Settings"
|
2018-10-15 14:42:47 +05:30
|
|
|
- @content_class = "limit-container-width" unless fluid_layout
|
2018-11-08 19:23:39 +05:30
|
|
|
- expanded = Rails.env.test?
|
|
|
|
|
|
|
|
|
|
|
|
%section.settings.gs-general.no-animate#js-general-settings{ class: ('expanded' if expanded) }
|
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('General')
|
|
|
|
%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'
|
|
|
|
|
|
|
|
%section.settings.gs-permissions.no-animate#js-permissions-settings{ class: ('expanded' if expanded) }
|
|
|
|
.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'
|
|
|
|
|
|
|
|
%section.settings.gs-advanced.no-animate#js-advanced-settings{ class: ('expanded' if expanded) }
|
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('Advanced')
|
|
|
|
%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
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
= render 'shared/confirm_modal', phrase: @group.path
|