2018-09-18 04:42:11 -04:00
|
|
|
- breadcrumb_title _("Preferences")
|
|
|
|
- page_title _("Preferences")
|
2018-09-04 14:06:57 -04:00
|
|
|
- @content_class = "limit-container-width" unless fluid_layout
|
|
|
|
|
2018-09-19 06:57:57 -04:00
|
|
|
%section.settings.as-email.no-animate#js-email-settings{ class: ('expanded' if expanded_by_default?) }
|
2018-09-04 14:06:57 -04:00
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('Email')
|
|
|
|
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
|
2018-09-19 06:57:57 -04:00
|
|
|
= expanded_by_default? ? _('Collapse') : _('Expand')
|
2018-09-04 14:06:57 -04:00
|
|
|
%p
|
|
|
|
= _('Various email settings.')
|
|
|
|
.settings-content
|
|
|
|
= render 'email'
|
|
|
|
|
2018-09-19 06:57:57 -04:00
|
|
|
%section.settings.as-help-page.no-animate#js-help-settings{ class: ('expanded' if expanded_by_default?) }
|
2018-09-04 14:06:57 -04:00
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('Help page')
|
|
|
|
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
|
2018-09-19 06:57:57 -04:00
|
|
|
= expanded_by_default? ? _('Collapse') : _('Expand')
|
2018-09-04 14:06:57 -04:00
|
|
|
%p
|
|
|
|
= _('Help page text and support page url.')
|
|
|
|
.settings-content
|
|
|
|
= render 'help_page'
|
|
|
|
|
2018-09-19 06:57:57 -04:00
|
|
|
%section.settings.as-pages.no-animate#js-pages-settings{ class: ('expanded' if expanded_by_default?) }
|
2018-09-04 14:06:57 -04:00
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('Pages')
|
|
|
|
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
|
2018-09-19 06:57:57 -04:00
|
|
|
= expanded_by_default? ? _('Collapse') : _('Expand')
|
2018-09-04 14:06:57 -04:00
|
|
|
%p
|
|
|
|
= _('Size and domain settings for static websites')
|
|
|
|
.settings-content
|
|
|
|
= render 'pages'
|
|
|
|
|
2018-09-19 06:57:57 -04:00
|
|
|
%section.settings.as-realtime.no-animate#js-realtime-settings{ class: ('expanded' if expanded_by_default?) }
|
2018-09-04 14:06:57 -04:00
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('Real-time features')
|
|
|
|
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
|
2018-09-19 06:57:57 -04:00
|
|
|
= expanded_by_default? ? _('Collapse') : _('Expand')
|
2018-09-04 14:06:57 -04:00
|
|
|
%p
|
|
|
|
= _('Change this value to influence how frequently the GitLab UI polls for updates.')
|
|
|
|
.settings-content
|
|
|
|
= render 'realtime'
|
|
|
|
|
2018-09-19 06:57:57 -04:00
|
|
|
%section.settings.as-gitaly.no-animate#js-gitaly-settings{ class: ('expanded' if expanded_by_default?) }
|
2018-09-04 14:06:57 -04:00
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('Gitaly')
|
|
|
|
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
|
2018-09-19 06:57:57 -04:00
|
|
|
= expanded_by_default? ? _('Collapse') : _('Expand')
|
2018-09-04 14:06:57 -04:00
|
|
|
%p
|
|
|
|
= _('Configure Gitaly timeouts.')
|
|
|
|
.settings-content
|
|
|
|
= render 'gitaly'
|
2018-11-06 16:16:49 -05:00
|
|
|
|
|
|
|
%section.settings.as-localization.no-animate#js-localization-settings{ class: ('expanded' if expanded_by_default?) }
|
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('Localization')
|
|
|
|
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
|
|
|
|
= expanded_by_default? ? _('Collapse') : _('Expand')
|
|
|
|
%p
|
|
|
|
= _('Various localization settings.')
|
|
|
|
.settings-content
|
|
|
|
= render 'localization'
|