diff --git a/app/assets/images/avatars/missing.png b/app/assets/images/avatars/missing.png index 223b4ed2ce..f22c6c0490 100644 Binary files a/app/assets/images/avatars/missing.png and b/app/assets/images/avatars/missing.png differ diff --git a/app/assets/stylesheets/accounts.scss b/app/assets/stylesheets/accounts.scss index ab39c8be02..571cee5c9b 100644 --- a/app/assets/stylesheets/accounts.scss +++ b/app/assets/stylesheets/accounts.scss @@ -267,5 +267,6 @@ font-weight: 500; text-align: center; padding: 15px 0; + padding-bottom: 25px; cursor: default; } diff --git a/app/controllers/auth/registrations_controller.rb b/app/controllers/auth/registrations_controller.rb index 3114ae60a8..5e1f5214bc 100644 --- a/app/controllers/auth/registrations_controller.rb +++ b/app/controllers/auth/registrations_controller.rb @@ -17,6 +17,6 @@ class Auth::RegistrationsController < Devise::RegistrationsController end def after_sign_up_path_for(resource) - account_path(resource.account) + root_path end end diff --git a/app/views/accounts/show.html.haml b/app/views/accounts/show.html.haml index f994600835..815d05f0c2 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