about summary refs log blame commit diff
path: root/app/views/accounts/_follow_grid.html.haml
blob: fdcef84be2c57e1e6312db1eba77f593b4fe1d6e (plain) (tree)
1
2
3
4
5
6
7
8
                                                       
                      
                                                                                            
                                             
                                                                                                        
 
                  
.accounts-grid{ class: accounts.empty? ? 'empty' : '' }
  - if accounts.empty?
    = image_tag asset_pack_path('elephant_ui_greeting.svg'), alt: '', role: 'presentational'
    = render partial: 'accounts/nothing_here'
  - else
    = render partial: 'accounts/grid_card', collection: accounts, as: :account, cached: !user_signed_in?

= paginate follows