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?
|
|
|
|
|
|
|
|
|
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'
|
|
|
|
|
|
|
|
%section.settings.gs-permissions.no-animate#js-permissions-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' }
|
|
|
|
= _('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'
|
|
|
|
|
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' }
|
|
|
|
= 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-12-23 12:14:25 +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
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
= render 'shared/confirm_modal', phrase: @group.path
|