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