Fix admins being able to suspend their instance actor (#14567)
* Fix admin being able to suspend their own instance account * Add text about the instance's own actor in admin view * Change instance actor notice from flash message to template * Do not list local instance actor in account moderation list
This commit is contained in:
@ -1,6 +1,10 @@
|
||||
- content_for :page_title do
|
||||
= @account.acct
|
||||
|
||||
- if @account.instance_actor?
|
||||
.flash-message.notice
|
||||
%strong= t('accounts.instance_actor_flash')
|
||||
|
||||
= render 'application/card', account: @account
|
||||
|
||||
- account = @account
|
||||
|
Reference in New Issue
Block a user