X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d3700e6201b4b78a70bbb2941572edc985b63c2c..ddc252016a42c076c4f8dd8d0efd1caf055eb518:/app/views/geocoder/search.html.erb diff --git a/app/views/geocoder/search.html.erb b/app/views/geocoder/search.html.erb index 2d2a25c97..53e87b3fd 100644 --- a/app/views/geocoder/search.html.erb +++ b/app/views/geocoder/search.html.erb @@ -1,10 +1,17 @@ -

- - <%= t('site.sidebar.search_results') %> -

+<% set_title(@params[:query]) %> + +<%= render "sidebar_header", :title => t("site.sidebar.search_results") %> + <% @sources.each do |source| %> -

<%= raw(t ".title.#{source}") %>

-
"> - <%= image_tag "searching.gif", :class => "loader" %> +

+ <%= t(".title.results_from_html", :results_link => link_to(t(".title.#{source[:name]}"), + t(".title.#{source[:name]}_url").to_s + source[:parameters].to_s)) %> +

+
"> +
+
+ <%= t("browse.start_rjs.loading") %> +
+
<% end %>