Implement Instance Moderation Notes (#31529)
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user