diff --git a/app/views/people/index.html.haml b/app/views/people/index.html.haml index d3cf5ac5e..a0560df61 100644 --- a/app/views/people/index.html.haml +++ b/app/views/people/index.html.haml @@ -4,8 +4,11 @@ .span-15.prepend-5.last %h2 - =t('.results_for') - %u= params[:q] + -if params[:q].blank? + =t('.no_results') + -else + =t('.results_for') + %u= params[:q] %ul{:class => 'stream people', :id => 'people_stream'} - for hash in @hashes diff --git a/config/locales/diaspora/en.yml b/config/locales/diaspora/en.yml index 21123b46a..3e6dd7c03 100644 --- a/config/locales/diaspora/en.yml +++ b/config/locales/diaspora/en.yml @@ -308,6 +308,7 @@ en: add_contact: "add contact" index: results_for: "search results for" + no_results: "Hey! You need to search for something." webfinger: fail: "Sorry, we couldn't find %{handle}." show: