mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-27 08:23:41 +01:00
edf09ec747
* Add `/api/v1/accounts/familiar_followers` to REST API * Change hide network preference to be stored consistently for local and remote accounts * Add dummy classes to migration * Apply suggestions from code review Co-authored-by: Claire <claire.github-309c@sitedethib.com> Co-authored-by: Claire <claire.github-309c@sitedethib.com>
20 lines
681 B
Text
20 lines
681 B
Text
- content_for :page_title do
|
|
= t('accounts.people_who_follow', 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.hide_collections?
|
|
.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(&:account), as: :account
|
|
|
|
= paginate @follows
|