mirror of
https://github.com/funamitech/mastodon
synced 2024-12-05 18:28:50 +09:00
67b3b62b98
* Revert "Fix filtering of favourited_by, reblogged_by, followers and following (#10447)" This reverts commit120544067f
. * Revert "Hide blocking accounts from blocked users (#10442)" This reverts commit62bafa20a1
. * Improve blocked view of profiles - Change "You are blocked" to "Profile unavailable" - Hide following/followers in API when blocked - Disable follow button and show "Profile unavailable" on public profile as well
21 lines
691 B
Plaintext
21 lines
691 B
Plaintext
- content_for :page_title do
|
|
= t('accounts.people_followed_by', name: display_name(@account))
|
|
|
|
- content_for :header_tags do
|
|
%meta{ name: 'robots', content: 'noindex' }/
|
|
= render 'accounts/og', account: @account, url: account_followers_url(@account, only_path: false)
|
|
|
|
= render 'accounts/header', account: @account
|
|
|
|
- if @account.user_hides_network?
|
|
.nothing-here= t('accounts.network_hidden')
|
|
- elsif user_signed_in? && @account.blocking?(current_account)
|
|
.nothing-here= t('accounts.unavailable')
|
|
- elsif @follows.empty?
|
|
= nothing_here
|
|
- else
|
|
.card-grid
|
|
= render partial: 'application/card', collection: @follows.map(&:target_account), as: :account
|
|
|
|
= paginate @follows
|