about summary refs log tree commit diff
path: root/app/views
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-03-21 17:18:30 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-03-21 17:18:30 +0100
commit02696a063eabec1715c4d0b359744fef10049486 (patch)
tree650e285c34e49c9ecbdb8c8730575f7c6571b79e /app/views
parent9d55529318a285ced484b9216df9064914d6f790 (diff)
Change default avatar, redirect to home after sign up
Diffstat (limited to 'app/views')
-rw-r--r--app/views/accounts/show.html.haml10
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