From d9eb7ee676ea8bb0afc744dfd0e389695281eef1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=88=E6=A7=8D=E7=94=B1=E7=B4=80?= Date: Sat, 17 Feb 2024 09:57:05 -0500 Subject: [PATCH] Add Reject Pattern to Other Page on GlitchSoc --- app/views/admin/settings/other/show.html.haml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/views/admin/settings/other/show.html.haml b/app/views/admin/settings/other/show.html.haml index 1a7a4e46e5..a6b6e21f82 100644 --- a/app/views/admin/settings/other/show.html.haml +++ b/app/views/admin/settings/other/show.html.haml @@ -22,5 +22,10 @@ .fields-group = f.input :outgoing_spoilers, wrapper: :with_label, label: t('admin.settings.outgoing_spoilers.title'), hint: t('admin.settings.outgoing_spoilers.desc_html'), glitch_only: true + %h4= t('admin.settings.others.activitypub') + + .fields-group + = f.input :reject_pattern, wrapper: :with_block_label, as: :text, label: t('admin.settings.reject_pattern.title'), hint: t('admin.settings.reject_pattern.desc_html'), input_html: { rows: 8 } + .actions = f.button :button, t('generic.save_changes'), type: :submit