mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-25 22:31:36 +01:00
Change followed_by link to location=all if account is local on /admin/accounts/:id page (#23467)
This commit is contained in:
parent
93d7c26fa5
commit
5f56818f9e
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@
|
||||||
.dashboard__counters__num= number_to_human_size @account.media_attachments.sum('file_file_size')
|
.dashboard__counters__num= number_to_human_size @account.media_attachments.sum('file_file_size')
|
||||||
.dashboard__counters__label= t 'admin.accounts.media_attachments'
|
.dashboard__counters__label= t 'admin.accounts.media_attachments'
|
||||||
%div
|
%div
|
||||||
= link_to admin_account_relationships_path(@account.id, location: 'local', relationship: 'followed_by') do
|
= link_to admin_account_relationships_path(@account.id, location: @account.local? ? nil : 'local', relationship: 'followed_by') do
|
||||||
.dashboard__counters__num= number_with_delimiter @account.local_followers_count
|
.dashboard__counters__num= number_with_delimiter @account.local_followers_count
|
||||||
.dashboard__counters__label= t 'admin.accounts.followers'
|
.dashboard__counters__label= t 'admin.accounts.followers'
|
||||||
%div
|
%div
|
||||||
|
|
Loading…
Reference in a new issue