X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/64fb530581ffd21e2522e70e8a2d4c46d666f760..50b2f4f656b82112fce4939da26a1afc6b140e89:/app/views/geocoder/results.html.erb diff --git a/app/views/geocoder/results.html.erb b/app/views/geocoder/results.html.erb index 70051c91c..deec4ed39 100644 --- a/app/views/geocoder/results.html.erb +++ b/app/views/geocoder/results.html.erb @@ -1,7 +1,15 @@ <% if @results.empty? %> -

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

+

<%= t ".no_results" %>

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

<%= result_to_html(result) %>

+ + <% if @more_params %> +
+ <%= link_to t(".more_results"), url_for(@more_params), :class => "button load_more" %> +
<%= image_tag "searching.gif" %>
+
<% end %> <% end %>