X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/124ec2e9d560e0df291e5a8e5aa67ef5db2f5d46..8a020b3ec727b8c9fa4d819855469dd348e58ee7:/app/views/geocoder/search.html.erb diff --git a/app/views/geocoder/search.html.erb b/app/views/geocoder/search.html.erb index 21484d4c0..56f468f2f 100644 --- a/app/views/geocoder/search.html.erb +++ b/app/views/geocoder/search.html.erb @@ -1,10 +1,16 @@ -

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

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

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