Add admin status edit commands
This commit is contained in:
parent
7910ab0333
commit
ad102071bc
6 changed files with 92 additions and 3 deletions
|
@ -774,6 +774,8 @@ en:
|
|||
report: Report
|
||||
deleted: Deleted
|
||||
favourites: Favourites
|
||||
force_cw: Force CW
|
||||
force_nsfw: Force NSFW
|
||||
history: Version history
|
||||
in_reply_to: Replying to
|
||||
language: Language
|
||||
|
@ -784,6 +786,9 @@ en:
|
|||
open: Open post
|
||||
original_status: Original post
|
||||
reblogs: Reblogs
|
||||
remove: Remove post
|
||||
remove_media: Remove medias
|
||||
remove_history: Remove edit history
|
||||
status_changed: Post changed
|
||||
title: Account posts
|
||||
trending: Trending
|
||||
|
|
|
@ -760,6 +760,8 @@ ja:
|
|||
report: 通報
|
||||
deleted: 削除済み
|
||||
favourites: お気に入り
|
||||
force_cw: 強制CW
|
||||
force_nsfw: 強制NSFW
|
||||
history: 更新履歴
|
||||
in_reply_to: 返信先
|
||||
language: 言語
|
||||
|
@ -770,6 +772,9 @@ ja:
|
|||
open: 投稿を開く
|
||||
original_status: オリジナルの投稿
|
||||
reblogs: ブースト
|
||||
remove: 投稿を削除
|
||||
remove_media: メディアを削除
|
||||
remove_history: 編集履歴を削除
|
||||
status_changed: 投稿を変更しました
|
||||
title: 投稿一覧
|
||||
trending: トレンド
|
||||
|
|
|
@ -355,6 +355,14 @@ Rails.application.routes.draw do
|
|||
resource :action, only: [:new, :create], controller: 'account_actions'
|
||||
|
||||
resources :statuses, only: [:index, :show] do
|
||||
member do
|
||||
post :remove_history
|
||||
post :remove_media
|
||||
post :force_sensitive
|
||||
post :force_cw
|
||||
post :remove_status
|
||||
end
|
||||
|
||||
collection do
|
||||
post :batch
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue