2018-05-18 10:26:51 +10:00
|
|
|
.accounts-grid{ class: accounts.empty? ? 'empty' : '' }
|
2017-04-19 21:52:37 +10:00
|
|
|
- if accounts.empty?
|
2018-05-18 10:26:51 +10:00
|
|
|
= image_tag asset_pack_path('elephant_ui_greeting.svg'), alt: '', role: 'presentational'
|
2017-04-19 21:52:37 +10:00
|
|
|
= render partial: 'accounts/nothing_here'
|
|
|
|
- else
|
2018-04-08 21:40:22 +10:00
|
|
|
= render partial: 'accounts/grid_card', collection: accounts, as: :account, cached: !user_signed_in?
|
2017-04-19 21:52:37 +10:00
|
|
|
|
2017-05-06 12:03:07 +10:00
|
|
|
= paginate follows
|