Clean up admin UI for accounts (#6004)

* Add staff filter to admin UI for accounts, remove obsolete columns

* Only display OStatus section in admin UI for accounts when OStatus data
This commit is contained in:
Eugen Rochko
2017-12-13 12:15:10 +01:00
committed by GitHub
parent 155e211dd0
commit 20a6584d2d
7 changed files with 17 additions and 20 deletions

View File

@ -104,7 +104,7 @@
- else
= link_to t('admin.accounts.perform_full_suspension'), admin_account_suspension_path(@account.id), method: :post, data: { confirm: t('admin.accounts.are_you_sure') }, class: 'button' if can?(:suspend, @account)
- unless @account.local?
- if !@account.local? && @account.hub_url.present?
%hr
%h3 OStatus
@ -132,6 +132,7 @@
- if @account.subscribed?
= link_to t('admin.accounts.unsubscribe'), unsubscribe_admin_account_path(@account.id), method: :post, class: 'button negative' if can?(:unsubscribe, @account)
- if !@account.local? && @account.inbox_url.present?
%hr
%h3 ActivityPub