Improve admin page (#4121)

* Improve admin page

* Fix test

* Add spec

* Improve select style
This commit is contained in:
abcang
2017-07-18 23:38:22 +09:00
committed by Eugen Rochko
parent 8387b3928e
commit 4d42a38954
15 changed files with 508 additions and 19 deletions

View File

@ -185,6 +185,21 @@ en:
desc_html: Display public timeline on landing page
title: Timeline preview
title: Site Settings
statuses:
back_to_account: Back to account page
batch:
delete: Delete
nsfw_off: NSFW OFF
nsfw_on: NSFW ON
execute: Execute
failed_to_execute: Failed to execute
media:
hide: Hide media
show: Show media
title: Media
no_media: No media
with_media: With media
title: Account statuses
subscriptions:
callback_url: Callback URL
confirmed: Confirmed

View File

@ -171,6 +171,21 @@ ja:
desc_html: ランディングページに公開タイムラインを表示します
title: タイムラインプレビュー
title: サイト設定
statuses:
back_to_account: アカウントページに戻る
batch:
delete: 削除
nsfw_off: NSFW オフ
nsfw_on: NSFW オン
execute: 実行
failed_to_execute: 実行に失敗しました
media:
hide: メディアを隠す
show: メディアを表示
title: メディア
no_media: メディアなし
with_media: メディアあり
title: トゥート一覧
subscriptions:
callback_url: コールバックURL
confirmed: 確認済み

View File

@ -89,7 +89,7 @@ Rails.application.routes.draw do
resources :instances, only: [:index]
resources :reports, only: [:index, :show, :update] do
resources :reported_statuses, only: [:update, :destroy]
resources :reported_statuses, only: [:create, :update, :destroy]
end
resources :accounts, only: [:index, :show] do
@ -103,6 +103,7 @@ Rails.application.routes.draw do
resource :silence, only: [:create, :destroy]
resource :suspension, only: [:create, :destroy]
resource :confirmation, only: [:create]
resources :statuses, only: [:index, :create, :update, :destroy]
end
resources :users, only: [] do