From 3c170303fcafeeb044c943f130366f894aa986d1 Mon Sep 17 00:00:00 2001 From: AurelioAHeckert Date: Mon, 28 Apr 2008 14:10:37 +0000 Subject: [PATCH] ActionItem313: comments on bug topic --- app/views/search/_display_results.rhtml | 9 +++++++++ public/stylesheets/controller_search.css | 5 +++++ 2 files changed, 14 insertions(+), 0 deletions(-) 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