chinwagsocial/app/views/follower_accounts/index.html.haml
2018-07-28 19:25:33 +02:00

18 lines
577 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.user_hides_network?
.nothing-here= t('accounts.network_hidden')
- elsif @follows.empty?
= nothing_here
- else
.card-grid
= render partial: 'application/card', collection: @follows.map(&:account), as: :account
= paginate @follows