diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2020-01-23 20:33:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-23 20:33:20 +0100 |
commit | c0006a004d0e58bb3ad356759c17e60f28975b61 (patch) | |
tree | c7db8022c8759f30cddc497e3d7aa1c474dbd9fd /config | |
parent | 27f9aa34776e89d0e56fc8aba7a52e075927b146 (diff) |
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
Diffstat (limited to 'config')
-rw-r--r-- | config/locales/en.yml | 6 | ||||
-rw-r--r-- | config/routes.rb | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/config/locales/en.yml b/config/locales/en.yml index d768cef33..8a86f8c7a 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -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 diff --git a/config/routes.rb b/config/routes.rb index ff308699d..f79af192d 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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 |