display a basic message for when nothing was searched for

This commit is contained in:
maxwell 2010-12-09 16:51:58 -08:00
parent 10ca0688f5
commit 3625a5f2f1
2 changed files with 6 additions and 2 deletions

View file

@ -4,6 +4,9 @@
.span-15.prepend-5.last
%h2
-if params[:q].blank?
=t('.no_results')
-else
=t('.results_for')
%u= params[:q]

View file

@ -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: