diff --git a/app/views/layouts/application-ng.rhtml b/app/views/layouts/application-ng.rhtml index 480e3f9..cb060c1 100644 --- a/app/views/layouts/application-ng.rhtml +++ b/app/views/layouts/application-ng.rhtml @@ -69,7 +69,7 @@ <% end %> -
+
<%=_('Press Enter to send the search query.')%>
<%= javascript_tag 'jQuery("#user form input").hint();' %> diff --git a/app/views/map_balloon/product.rhtml b/app/views/map_balloon/product.rhtml index c3a2f1e..57e4b7f 100644 --- a/app/views/map_balloon/product.rhtml +++ b/app/views/map_balloon/product.rhtml @@ -1,3 +1,3 @@
- <%= render :partial => 'search/product', :locals => {:product => @product} %> + <%= render :partial => 'search/full_product', :locals => {:product => @product} %>
diff --git a/test/functional/home_controller_test.rb b/test/functional/home_controller_test.rb index 09609d8..99233ef 100644 --- a/test/functional/home_controller_test.rb +++ b/test/functional/home_controller_test.rb @@ -136,14 +136,4 @@ class HomeControllerTest < ActionController::TestCase assert_no_tag :tag => 'a', :attributes => {:href => '/account/signup'} end - should "not display search field if there is no search engine on" do - Noosfero::Plugin::Manager.any_instance.stubs(:first).with(:search_engine?).returns(false) - get :index - assert_no_tag :tag => 'input', :attributes => {:name => 'query'} - - Noosfero::Plugin::Manager.any_instance.stubs(:first).with(:search_engine?).returns(true) - get :index - assert_tag :tag => 'input', :attributes => {:name => 'query'} - end - end -- libgit2 0.21.2