Commit 168a8df7c416922f223ed74c8056f8f6ed40573a

Authored by AntonioTerceiro
1 parent 86ce6f53

ActionItem561: adding a template specific for articles

git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@2275 3f533792-8f58-4932-b0fe-aaf55b0a4547
app/views/search/articles.rhtml
... ... @@ -1 +0,0 @@
1   -people.rhtml
2 0 \ No newline at end of file
app/views/search/articles.rhtml 0 → 100644
... ... @@ -0,0 +1,14 @@
  1 +<%= search_page_title( _('Articles'), { :query => @query,
  2 + :category => @category ? @category.name : nil,
  3 + :total_results => @total_results,
  4 + :region => @region ? @region.name : nil,
  5 + :distance => @radius } ) %>
  6 +
  7 +<%= render :partial => 'search_form', :locals => { :form_title => @query.blank? ? _('Search') : _("Refine your search"), :simple_search => true } %>
  8 +
  9 +<%# FIXME ARMENGUE %>
  10 +<%= display_results(false) %>
  11 +
  12 +<%= pagination_links @results.values.first %>
  13 +
  14 +<br style="clear:both" />
... ...