Skip to content
Extraits de code Groupes Projets
Valider 5c2b59da rédigé par Maxwell Salzberg's avatar Maxwell Salzberg
Parcourir les fichiers

add a link to the tag show page from the search page

parent a7bed994
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -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:
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter