Redesign public profiles and toots (#8068)

This commit is contained in:
Eugen Rochko
2018-07-28 19:25:33 +02:00
committed by GitHub
parent e23b26178a
commit bb71538bb5
93 changed files with 1388 additions and 1423 deletions

View File

@ -8,6 +8,11 @@
= render 'accounts/header', account: @account
- if @account.user_hides_network?
= render 'accounts/follow_grid_hidden'
.nothing-here= t('accounts.network_hidden')
- elsif @follows.empty?
= nothing_here
- else
= render 'accounts/follow_grid', follows: @follows, accounts: @follows.map(&:account)
.card-grid
= render partial: 'application/card', collection: @follows.map(&:account), as: :account
= paginate @follows