add a link to the tag show page from the search page
This commit is contained in:
parent
a7bed99411
commit
5c2b59da22
3 changed files with 6 additions and 0 deletions
|
|
@ -3,4 +3,7 @@
|
|||
# the COPYRIGHT file.
|
||||
|
||||
module TagsHelper
|
||||
def tag_page_link(tag)
|
||||
link_to("##{tag}", tag_path(:name => tag))
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -18,6 +18,8 @@
|
|||
=t('.results_for')
|
||||
%span.term
|
||||
= params[:q]
|
||||
%small
|
||||
= t('.looking_for', :tag_link => tag_page_link(params[:q])).html_safe
|
||||
|
||||
.span-15.append-1
|
||||
#people_stream.stream
|
||||
|
|
|
|||
|
|
@ -532,6 +532,7 @@ en:
|
|||
no_results: "Hey! You need to search for something."
|
||||
couldnt_find_them_send_invite: "Couldn't find them? Send an invite!"
|
||||
no_one_found: "...and no one was found."
|
||||
looking_for: "Looking for posts tagged %{tag_link}?"
|
||||
webfinger:
|
||||
fail: "Sorry, we couldn't find %{handle}."
|
||||
show:
|
||||
|
|
|
|||
Loading…
Reference in a new issue