Commit 168a8df7c416922f223ed74c8056f8f6ed40573a
1 parent
86ce6f53
Exists in
master
and in
28 other branches
ActionItem561: adding a template specific for articles
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@2275 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
2 changed files
with
14 additions
and
1 deletions
Show diff stats
app/views/search/articles.rhtml
... | ... | @@ -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" /> | ... | ... |