diff --git a/lib/ext/search_controller.rb b/lib/ext/search_controller.rb index 6668e7e..7ac8247 100644 --- a/lib/ext/search_controller.rb +++ b/lib/ext/search_controller.rb @@ -114,7 +114,7 @@ class SearchController end def prepare_software_infos_params - @titles[:software_infos] = _("Public Software Catalog") + @titles[:software_infos] = _("Result Search") @selected_categories_id = params[:selected_categories_id] @selected_categories_id ||= [] @selected_categories_id = @selected_categories_id.map(&:to_i) diff --git a/po/pt/software_communities.po b/po/pt/software_communities.po index a76721a..10fa88f 100644 --- a/po/pt/software_communities.po +++ b/po/pt/software_communities.po @@ -408,15 +408,15 @@ msgstr "Categorias" #: plugins/software_communities/views/search/_catalog_filter.html.erb:33 msgid "Clean up" -msgstr "Limpe formulário" +msgstr "Limpar" #: plugins/software_communities/views/search/_catalog_filter.html.erb:34 msgid "Close" -msgstr "Feche" +msgstr "Fechar" #: plugins/software_communities/views/search/_catalog_filter.html.erb:37 -msgid "All Software Projects:" -msgstr "Todos os Projetos de Software" +msgid "Software Projects:" +msgstr "Projetos de Software:" #: plugins/software_communities/views/search/_catalog_filter.html.erb:40 msgid "Include in results" diff --git a/views/search/_catalog_filter.html.erb b/views/search/_catalog_filter.html.erb index bcb77dd..2f5b589 100644 --- a/views/search/_catalog_filter.html.erb +++ b/views/search/_catalog_filter.html.erb @@ -29,16 +29,19 @@
+ +
<%= _("Software Projects:") %> + + (?) +
+
+ <%= button_tag _("Clean up"), :id => "cleanup-filter-catalg", :type => "button" %> <%= button_tag _("Close"), :id => "close-filter-catalog", :type => "button" %> -
<%= _("All Software Projects:") %> - - (?) -
diff --git a/views/search/_software_search_form.html.erb b/views/search/_software_search_form.html.erb index fb3dbd3..7c4f705 100644 --- a/views/search/_software_search_form.html.erb +++ b/views/search/_software_search_form.html.erb @@ -1,4 +1,6 @@
+

<%= _("Search Public Software Catalog") %>

+ <%= form_tag( { :controller => 'search', :action => @asset ? @asset : 'index', :asset => nil, :category_path => ( @category ? @category.path : nil ) }, :method => 'get', :class => 'search_form' ) do %> @@ -17,6 +19,8 @@ <%= render :partial => 'search_form_extra_fields' %> <%= render :partial => 'catalog_filter' %> +
+
<%= "#{@software_count} Software(s)" %> diff --git a/views/search/software_infos.html.erb b/views/search/software_infos.html.erb index 6050d3c..f2f5830 100644 --- a/views/search/software_infos.html.erb +++ b/views/search/software_infos.html.erb @@ -1,16 +1,10 @@ +

Catálogo de Software Público

+
<%= search_page_title( @titles[@asset], @category ) %> <%= render :partial => 'software_search_form', :locals => { :hint => _("Type words about the %s you're looking for") % @asset.to_s.singularize } %> - <%= render partial:"catalog_result_list" %> - -
- <% if params[:display] != 'map' %> - <%= pagination_links @searches[@asset][:results] %> - <% end %> -
-
<% if @asset == :product %> @@ -18,4 +12,12 @@ jQuery('.search-product-price-details').altBeautify(); <% end %> <% end %> +
+ +<%= render partial:"catalog_result_list" %> + +
+ <% if params[:display] != 'map' %> + <%= pagination_links @searches[@asset][:results] %> + <% end %>
\ No newline at end of file -- libgit2 0.21.2