2
0

Implement Instance Moderation Notes (#31529)

This commit is contained in:
Emelia Smith
2025-06-25 10:15:44 +02:00
committed by GitHub
parent 0f9f27972d
commit 72f2f35bfb
20 changed files with 295 additions and 15 deletions

View File

@@ -578,6 +578,13 @@ en:
all: All
limited: Limited
title: Moderation
moderation_notes:
create: Add Moderation Note
created_msg: Instance moderation note successfully created!
description_html: View and leave notes for other moderators and your future self
destroyed_msg: Instance moderation note successfully deleted!
placeholder: Information about this instance, actions taken, or anything else that will help you moderate this instance in the future.
title: Moderation Notes
private_comment: Private comment
public_comment: Public comment
purge: Purge

View File

@@ -91,6 +91,8 @@ namespace :admin do
post :restart_delivery
post :stop_delivery
end
resources :moderation_notes, controller: 'instances/moderation_notes', only: [:create, :destroy]
end
resources :rules, only: [:index, :new, :create, :edit, :update, :destroy] do