1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00
mastodon/app/views/accounts/following.html.haml
Matt Jankowski 7efde22c3a Use local vars in partials (#1935)
* Use local vars in accounts/header partial

* Use local variable in 2fa recovery codes partial
2017-04-16 16:37:49 +02:00

12 lines
330 B
Text

- content_for :page_title do
= t('accounts.people_followed_by', name: display_name(@account))
= render 'header', account: @account
.accounts-grid
- if @following.empty?
= render partial: 'nothing_here'
- else
= render partial: 'grid_card', collection: @following, as: :account, cached: true
= paginate @following