2018-09-18 04:42:11 -04:00
|
|
|
- breadcrumb_title _("Reporting")
|
|
|
|
- page_title _("Reporting")
|
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-spam.no-animate#js-spam-settings{ class: ('expanded' if expanded_by_default?) }
|
2018-09-04 14:06:57 -04:00
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('Spam and Anti-bot Protection')
|
2021-01-20 04:10:52 -05:00
|
|
|
%button.btn.gl-button.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
|
2021-09-27 11:10:13 -04:00
|
|
|
= _('Configure CAPTCHAs, IP address limits, and other anti-spam measures.')
|
2018-09-04 14:06:57 -04:00
|
|
|
.settings-content
|
|
|
|
= render 'spam'
|
|
|
|
|
2021-10-29 11:11:56 -04:00
|
|
|
-# this partial is from JiHu, see details in https://gitlab.com/gitlab-jh/gitlab/-/merge_requests/135
|
|
|
|
= render_if_exists 'admin/application_settings/content_validation_section'
|
|
|
|
|
2018-09-19 06:57:57 -04:00
|
|
|
%section.settings.as-abuse.no-animate#js-abuse-settings{ class: ('expanded' if expanded_by_default?) }
|
2018-09-04 14:06:57 -04:00
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('Abuse reports')
|
2021-01-20 04:10:52 -05:00
|
|
|
%button.btn.gl-button.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
|
2021-10-03 23:09:16 -04:00
|
|
|
= _('Receive notification of abuse reports by email.')
|
|
|
|
= link_to _('Learn more.'), help_page_path('user/admin_area/review_abuse_reports.md'), target: '_blank', rel: 'noopener noreferrer'
|
2018-09-04 14:06:57 -04:00
|
|
|
.settings-content
|
|
|
|
= render 'abuse'
|