Added settings page for deleting scheduled statuses
This commit is contained in:
@@ -903,7 +903,11 @@ en:
|
||||
profile: Profile
|
||||
relationships: Follows and followers
|
||||
two_factor_authentication: Two-factor Auth
|
||||
posts: Posts
|
||||
scheduled_posts: Scheduled Posts
|
||||
statuses:
|
||||
are_you_sure: 'Are you sure?'
|
||||
scheduled_title: 'Schedule'
|
||||
attached:
|
||||
description: 'Attached: %{attached}'
|
||||
image:
|
||||
|
||||
@@ -20,6 +20,10 @@ SimpleNavigation::Configuration.run do |navigation|
|
||||
s.item :authorized_apps, safe_join([fa_icon('list fw'), t('settings.authorized_apps')]), oauth_authorized_applications_url
|
||||
end
|
||||
|
||||
n.item :posts, safe_join([fa_icon('bars fw'), t('settings.posts')]), settings_scheduled_statuses_url do |s|
|
||||
s.item :scheduled_posts, safe_join([fa_icon('calendar fw'), t('settings.scheduled_posts')]), settings_scheduled_statuses_url
|
||||
end
|
||||
|
||||
n.item :requests, safe_join([fa_icon('id-card-o fw'), t('verifications.requests.title')]), settings_verifications_requests_url
|
||||
|
||||
n.item :billing, safe_join([fa_icon('usd fw'), t('settings.billing')]), settings_billing_transactions_url do |s|
|
||||
|
||||
@@ -90,7 +90,7 @@ Rails.application.routes.draw do
|
||||
end
|
||||
|
||||
resources :promotions, only: [:index, :new, :create, :edit, :update, :destroy]
|
||||
|
||||
|
||||
namespace :verifications do
|
||||
get :moderation, to: 'moderation#index', as: :moderation
|
||||
get 'moderation/:id/approve', to: 'moderation#approve', as: :approve
|
||||
@@ -127,6 +127,7 @@ Rails.application.routes.draw do
|
||||
|
||||
resources :sessions, only: [:destroy]
|
||||
resources :featured_tags, only: [:index, :create, :destroy]
|
||||
resources :scheduled_statuses, only: [:index, :destroy]
|
||||
end
|
||||
|
||||
resources :media, only: [:show] do
|
||||
|
||||
Reference in New Issue
Block a user