Commit 3c170303fcafeeb044c943f130366f894aa986d1
1 parent
380db799
Exists in
master
and in
29 other branches
ActionItem313: comments on bug topic
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1714 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
2 changed files
with
14 additions
and
0 deletions
Show diff stats
app/views/search/_display_results.rhtml
1 | 1 | <div id="search-results" class="<%= 'only-one-result-box' if @results.size == 1 %>"> |
2 | + | |
3 | +<% if @category %> | |
4 | +<div id="search-whole-site"> | |
5 | +<%= link_to _('Search for "%s" in the whole site') % @query, | |
6 | + :controller => 'search', :action => 'index', :category_path => [], :query => @query %> | |
7 | +</div> | |
8 | +<% end %> | |
9 | + | |
2 | 10 | <% |
3 | 11 | pos2 = :odd # allow to format in a two colons layout |
4 | 12 | pos3 = 3 # allow to format in a thre colons layout |
... | ... | @@ -33,6 +41,7 @@ |
33 | 41 | </div><!-- end class="search-results-<%= name %>" --> |
34 | 42 | <% end %> |
35 | 43 | <% end %> |
44 | + | |
36 | 45 | <br style="clear:both" /> |
37 | 46 | </div><!-- end id="search-results" --> |
38 | 47 | ... | ... |
public/stylesheets/controller_search.css