mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-20 03:25:17 +01:00
Add button to Admin Account details page to view the instance if non-local user
This commit is contained in:
parent
2d589a5ed4
commit
08dd9708fd
@ -1,6 +1,10 @@
|
|||||||
- content_for :page_title do
|
- content_for :page_title do
|
||||||
= @account.pretty_acct
|
= @account.pretty_acct
|
||||||
|
|
||||||
|
- content_for :heading_actions do
|
||||||
|
- unless @account.local?
|
||||||
|
= link_to t('admin.accounts.view_instance'), admin_instance_path(@account.domain), method: :post, class: 'button'
|
||||||
|
|
||||||
- if @account.instance_actor?
|
- if @account.instance_actor?
|
||||||
.flash-message.notice
|
.flash-message.notice
|
||||||
%strong= t('accounts.instance_actor_flash')
|
%strong= t('accounts.instance_actor_flash')
|
||||||
|
@ -165,6 +165,7 @@ en:
|
|||||||
unsuspended_msg: Successfully unsuspended %{username}'s account
|
unsuspended_msg: Successfully unsuspended %{username}'s account
|
||||||
username: Username
|
username: Username
|
||||||
view_domain: View summary for domain
|
view_domain: View summary for domain
|
||||||
|
view_instance: View instance
|
||||||
warn: Warn
|
warn: Warn
|
||||||
web: Web
|
web: Web
|
||||||
whitelisted: Allowed for federation
|
whitelisted: Allowed for federation
|
||||||
|
Loading…
Reference in New Issue
Block a user