debian-mirror-gitlab/app/views/admin/application_settings/reporting.html.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
1.5 KiB
Text
Raw Normal View History

2018-12-05 23:21:45 +05:30
- breadcrumb_title _("Reporting")
- page_title _("Reporting")
2023-03-04 22:38:38 +05:30
- add_page_specific_style 'page_bundles/settings'
2018-12-05 23:21:45 +05:30
%section.settings.as-spam.no-animate#js-spam-settings{ class: ('expanded' if expanded_by_default?) }
.settings-header
2022-08-13 15:12:31 +05:30
%h4.settings-title.js-settings-toggle.js-settings-toggle-trigger-only
2018-12-05 23:21:45 +05:30
= _('Spam and Anti-bot Protection')
2022-07-23 23:45:48 +05:30
= render Pajamas::ButtonComponent.new(button_options: { class: 'js-settings-toggle' }) do
2018-12-05 23:21:45 +05:30
= expanded_by_default? ? _('Collapse') : _('Expand')
%p
2021-11-18 22:05:49 +05:30
= _('Configure CAPTCHAs, IP address limits, and other anti-spam measures.')
2018-12-05 23:21:45 +05:30
.settings-content
= render 'spam'
2021-12-11 22:18:48 +05:30
-# 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-12-05 23:21:45 +05:30
%section.settings.as-abuse.no-animate#js-abuse-settings{ class: ('expanded' if expanded_by_default?) }
.settings-header
2022-08-13 15:12:31 +05:30
%h4.settings-title.js-settings-toggle.js-settings-toggle-trigger-only
2018-12-05 23:21:45 +05:30
= _('Abuse reports')
2022-07-23 23:45:48 +05:30
= render Pajamas::ButtonComponent.new(button_options: { class: 'js-settings-toggle' }) do
2018-12-05 23:21:45 +05:30
= expanded_by_default? ? _('Collapse') : _('Expand')
%p
2021-11-18 22:05:49 +05:30
= _('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-12-05 23:21:45 +05:30
.settings-content
= render 'abuse'
2022-08-13 15:12:31 +05:30
= render_if_exists 'admin/application_settings/git_abuse_rate_limit'