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