1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
- breadcrumb_title _("Reporting")
- page_title _("Reporting")
- add_page_specific_style 'page_bundles/settings'
- @force_desktop_expanded_sidebar = true
%div{ data: { event_tracking_load: 'true', event_tracking: 'view_admin_application_settings_reporting_pageload' } }
= render ::Layouts::SettingsBlockComponent.new(_('Spam and Anti-bot Protection'),
id: 'js-spam-settings',
testid: 'spam-settings',
expanded: expanded_by_default?) do |c|
- c.with_description do
= _('Configure CAPTCHAs, IP address limits, and other anti-spam measures.')
- c.with_body do
= render 'spam'
-# 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'
= render ::Layouts::SettingsBlockComponent.new(_('Abuse reports'),
id: 'js-abuse-settings',
expanded: expanded_by_default?) do |c|
- c.with_description do
= _('Receive notification of abuse reports by email.')
= link_to _('Learn more.'), help_page_path('administration/review_abuse_reports.md'), target: '_blank', rel: 'noopener noreferrer'
- c.with_body do
= render 'abuse'
= render_if_exists 'admin/application_settings/git_abuse_rate_limit'
|