display a basic message for when nothing was searched for
This commit is contained in:
parent
10ca0688f5
commit
3625a5f2f1
2 changed files with 6 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue