X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/13289d404188bd397ee72852f66c415a2bb87066..82a4548ca878d6c597df4178e81fd4e16da7212e:/app/views/geocoder/results.html.erb diff --git a/app/views/geocoder/results.html.erb b/app/views/geocoder/results.html.erb index 61d28697d..05d7d5d63 100644 --- a/app/views/geocoder/results.html.erb +++ b/app/views/geocoder/results.html.erb @@ -1,25 +1,23 @@ <% if @results.empty? %> -

<%= t 'geocoder.results.no_results' %>

+ <% else %> - <% @results.each do |result| %> -

<%= result_to_html(result) %>

- <% end %> + <% if @more_params %> -
-

- <%= link_to t('geocoder.results.more_results'), "#" %> -

- <%= image_tag "searching.gif", :class => "search_searching" %> +
+ <%= link_to t(".more_results"), url_for(@more_params), :class => "btn btn-primary" %> +
+
+ <%= t("browse.start_rjs.loading") %> +
+
- <% end %> <% end %>