Change followers page to relationships page in admin UI (#12927)

Allow browsing and filtering all relationships instead of just
followers, unify the codebase with the user-facing relationship
manager, add ability to see who the user invited
This commit is contained in:
Eugen Rochko 2020-01-23 20:33:20 +01:00 committed by GitHub
parent 27f9aa3477
commit c0006a004d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 181 additions and 94 deletions

View file

@ -344,9 +344,6 @@ en:
create: Add domain
title: New e-mail blacklist entry
title: E-mail blacklist
followers:
back_to_account: Back To Account
title: "%{acct}'s Followers"
instances:
by_domain: Domain
delivery_available: Delivery is available
@ -375,6 +372,8 @@ en:
title: Invites
pending_accounts:
title: Pending accounts (%{count})
relationships:
title: "%{acct}'s relationships"
relays:
add_new: Add new relay
delete: Delete
@ -935,6 +934,7 @@ en:
dormant: Dormant
followers: Followers
following: Following
invited: Invited
last_active: Last active
most_recent: Most recent
moved: Moved

View file

@ -223,7 +223,7 @@ Rails.application.routes.draw do
resource :reset, only: [:create]
resource :action, only: [:new, :create], controller: 'account_actions'
resources :statuses, only: [:index, :show, :create, :update, :destroy]
resources :followers, only: [:index]
resources :relationships, only: [:index]
resource :confirmation, only: [:create] do
collection do