Add ability to view previous edits of a status in admin UI (#19462)

* Add ability to view previous edits of a status in admin UI

* Change moderator access to posts to be controlled by a separate policy
This commit is contained in:
Eugen Rochko 2022-10-26 13:42:29 +02:00 committed by GitHub
parent dee69be60e
commit f8ca3bb2a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 232 additions and 55 deletions

View file

@ -705,16 +705,29 @@ en:
delete: Delete uploaded file
destroyed_msg: Site upload successfully deleted!
statuses:
account: Author
application: Application
back_to_account: Back to account page
back_to_report: Back to report page
batch:
remove_from_report: Remove from report
report: Report
deleted: Deleted
favourites: Favourites
history: Version history
in_reply_to: Replying to
language: Language
media:
title: Media
metadata: Metadata
no_status_selected: No posts were changed as none were selected
open: Open post
original_status: Original post
reblogs: Reblogs
status_changed: Post changed
title: Account posts
trending: Trending
visibility: Visibility
with_media: With media
strikes:
actions:

View file

@ -325,7 +325,7 @@ Rails.application.routes.draw do
resource :reset, only: [:create]
resource :action, only: [:new, :create], controller: 'account_actions'
resources :statuses, only: [:index] do
resources :statuses, only: [:index, :show] do
collection do
post :batch
end