Commit 5794f6e2831e2c3ad0e922e82d1ec148c68e52ea

Authored by AntonioTerceiro
1 parent b10a4c36

ActionItem265: displaying in map must appear only in directory, for now


git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1934 3f533792-8f58-4932-b0fe-aaf55b0a4547
app/views/search/category_index.rhtml
... ... @@ -3,7 +3,7 @@
3 3 <div id="category-image"><%= image_tag(@category.image.public_filename(:thumb), :id => 'category-image') if @category.image %></div>
4 4 <h1 id="category-name"><%= _('Category: %s') % @category.name %></h1>
5 5  
6   - <%= display_results %>
  6 + <%= render :partial => 'display_results' %>
7 7  
8 8 <div id="category-childs">
9 9 <h2> <%= _('Sub-categories') %> </h2>
... ...
app/views/search/index.rhtml
... ... @@ -4,7 +4,7 @@
4 4  
5 5 <%= render :partial => 'search_form', :locals => { :form_title => _("Refine your search"), :simple_search => true } %>
6 6  
7   -<%= display_results %>
  7 +<%= render :partial => 'display_results' %>
8 8  
9 9 </div><!-- end id="search-page" -->
10 10 <br style="clear:both" />
... ...