diff options
Diffstat (limited to 'app/views/accounts')
-rw-r--r-- | app/views/accounts/show.html.haml | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/app/views/accounts/show.html.haml b/app/views/accounts/show.html.haml index f99460083..815d05f0c 100644 --- a/app/views/accounts/show.html.haml +++ b/app/views/accounts/show.html.haml @@ -7,8 +7,12 @@ = render partial: 'header' -.activity-stream - - @statuses.each do |status| - = render partial: 'stream_entries/status', locals: { status: status, include_threads: false, is_successor: false, is_predecessor: false } +- if @statuses.empty? + .accounts-grid + = render partial: 'nothing_here' +- else + .activity-stream + - @statuses.each do |status| + = render partial: 'stream_entries/status', locals: { status: status } = will_paginate @statuses, pagination_options |