X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a01195f1497b4f4c6b7d019c7affc794d41101cd..be9a501296bcb134ae700319155a636385212b64:/app/views/geocoder/search.html.erb diff --git a/app/views/geocoder/search.html.erb b/app/views/geocoder/search.html.erb index 007516dd6..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 "geocoder.search.title.#{source}") %>

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

+ <%= 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 %>