about summary refs log tree commit diff
path: root/app/views/accounts/_follow_grid.html.haml
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2018-05-18 17:20:32 +0200
committerGitHub <noreply@github.com>2018-05-18 17:20:32 +0200
commit625c4f36ef394215e65e19157bfaf60e7de94b5f (patch)
tree72560d046b60c8478d10f26c212a70870e50eb2d /app/views/accounts/_follow_grid.html.haml
parent023dfa119ed43fe35188e560c24cd3091c14ad0b (diff)
parent765fc6700cefcf326e8e4104f7f82ac5ed9b9bea (diff)
Merge pull request #490 from glitch-soc/merge-upstream
Merge with tootsuite @ 57b503d4ef0754e4651eae26b628cba60e1ab4e9
Diffstat (limited to 'app/views/accounts/_follow_grid.html.haml')
-rw-r--r--app/views/accounts/_follow_grid.html.haml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/accounts/_follow_grid.html.haml b/app/views/accounts/_follow_grid.html.haml
index a6d0ee817..fdcef84be 100644
--- a/app/views/accounts/_follow_grid.html.haml
+++ b/app/views/accounts/_follow_grid.html.haml
@@ -1,5 +1,6 @@
-.accounts-grid
+.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?