X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/56db9ca2b7e2475cd8025630049fb4a4b824f2d9..7e925c3c00cc5944fc743faf9d1509fcd30df55d:/app/views/geocoder/results.html.erb?ds=sidebyside diff --git a/app/views/geocoder/results.html.erb b/app/views/geocoder/results.html.erb index 7fd21775e..94f19d2fe 100644 --- a/app/views/geocoder/results.html.erb +++ b/app/views/geocoder/results.html.erb @@ -1,26 +1,19 @@ <% if @results.empty? %> -

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

+ <% else %> - + <% if @more_params %> -
-
- <%= link_to t('geocoder.results.more_results'), "#", :class => "button" %> -
- <%= image_tag "searching.gif", :class => "search_searching" %> +
+ <%= link_to t(".more_results"), url_for(@more_params), :class => "button load_more" %> +
<%= image_tag "searching.gif" %>
- <% end %> <% end %>