From 168a8df7c416922f223ed74c8056f8f6ed40573a Mon Sep 17 00:00:00 2001 From: AntonioTerceiro Date: Thu, 17 Jul 2008 19:02:46 +0000 Subject: [PATCH] ActionItem561: adding a template specific for articles --- app/views/search/articles.rhtml | 1 - app/views/search/articles.rhtml | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) delete mode 120000 app/views/search/articles.rhtml create mode 100644 app/views/search/articles.rhtml diff --git a/app/views/search/articles.rhtml b/app/views/search/articles.rhtml deleted file mode 120000 index aba8524..0000000 --- a/app/views/search/articles.rhtml +++ /dev/null @@ -1 +0,0 @@ -people.rhtml \ No newline at end of file diff --git a/app/views/search/articles.rhtml b/app/views/search/articles.rhtml new file mode 100644 index 0000000..ba6fb4c --- /dev/null +++ b/app/views/search/articles.rhtml @@ -0,0 +1,14 @@ +<%= search_page_title( _('Articles'), { :query => @query, + :category => @category ? @category.name : nil, + :total_results => @total_results, + :region => @region ? @region.name : nil, + :distance => @radius } ) %> + +<%= render :partial => 'search_form', :locals => { :form_title => @query.blank? ? _('Search') : _("Refine your search"), :simple_search => true } %> + +<%# FIXME ARMENGUE %> +<%= display_results(false) %> + +<%= pagination_links @results.values.first %> + +
-- libgit2 0.21.2