Commit 3c170303fcafeeb044c943f130366f894aa986d1

Authored by AurelioAHeckert
1 parent 380db799

ActionItem313: comments on bug topic

git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1714 3f533792-8f58-4932-b0fe-aaf55b0a4547
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
... ... @@ -2,6 +2,11 @@
2 2 /* none by default, but... Who knows the future? :-) */
3 3 }
4 4  
  5 +#search-whole-site {
  6 + text-align: right;
  7 + margin-top: -15px;
  8 +}
  9 +
5 10 #search-results h3 {
6 11 margin: 20px 0px 0px 20px;
7 12 }
... ...