about summary refs log tree commit diff
path: root/app/views/following_accounts/index.html.haml
blob: 17fe790188ca7d43eab04e285fe9db9975321f63 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
- 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