2017-04-19 12:52:37 +01:00
|
|
|
- content_for :page_title do
|
|
|
|
= t('accounts.people_who_follow', name: display_name(@account))
|
|
|
|
|
2017-04-19 16:17:32 +01:00
|
|
|
- content_for :header_tags do
|
2018-03-08 23:35:07 +00:00
|
|
|
%meta{ name: 'robots', content: 'noindex' }/
|
2017-04-22 16:29:46 +01:00
|
|
|
= render 'accounts/og', account: @account, url: account_followers_url(@account, only_path: false)
|
2017-04-19 16:17:32 +01:00
|
|
|
|
2017-04-19 12:52:37 +01:00
|
|
|
= render 'accounts/header', account: @account
|
|
|
|
|
2018-05-18 01:26:51 +01:00
|
|
|
- if @account.user_hides_network?
|
2018-07-28 18:25:33 +01:00
|
|
|
.nothing-here= t('accounts.network_hidden')
|
2019-04-07 03:59:13 +01:00
|
|
|
- elsif user_signed_in? && @account.blocking?(current_account)
|
|
|
|
.nothing-here= t('accounts.unavailable')
|
2018-07-28 18:25:33 +01:00
|
|
|
- elsif @follows.empty?
|
|
|
|
= nothing_here
|
2018-05-18 01:26:51 +01:00
|
|
|
- else
|
2018-07-28 18:25:33 +01:00
|
|
|
.card-grid
|
|
|
|
= render partial: 'application/card', collection: @follows.map(&:account), as: :account
|
|
|
|
|
|
|
|
= paginate @follows
|