diff --git a/app/views/search/_display_results.rhtml b/app/views/search/_display_results.rhtml index 52ee4d9..f0c8201 100644 --- a/app/views/search/_display_results.rhtml +++ b/app/views/search/_display_results.rhtml @@ -1,4 +1,12 @@
+ +<% if @category %> +
+<%= link_to _('Search for "%s" in the whole site') % @query, + :controller => 'search', :action => 'index', :category_path => [], :query => @query %> +
+<% end %> + <% pos2 = :odd # allow to format in a two colons layout pos3 = 3 # allow to format in a thre colons layout @@ -33,6 +41,7 @@
<% end %> <% end %> +
diff --git a/public/stylesheets/controller_search.css b/public/stylesheets/controller_search.css index 14bc1e6..971c46b 100644 --- a/public/stylesheets/controller_search.css +++ b/public/stylesheets/controller_search.css @@ -2,6 +2,11 @@ /* none by default, but... Who knows the future? :-) */ } +#search-whole-site { + text-align: right; + margin-top: -15px; +} + #search-results h3 { margin: 20px 0px 0px 20px; } -- libgit2 0.21.2