1 <% if @changesets.present? %>
2 <ol class="changesets list-group list-group-flush">
3 <%= render @changesets %>
5 <% if @changesets.size == 20 -%>
6 <div class="changeset_more mt-3 text-center">
7 <%= link_to t(".load_more"), url_for(@params.merge(:max_id => @changesets.last.id - 1)), :class => "btn btn-primary" %>
8 <div class="loader"><%= image_tag "searching.gif" %></div>
11 <% elsif params[:bbox] %>
12 <p><%= t(params[:max_id] ? ".no_more_area" : ".empty_area") %></p>
13 <% elsif params[:display_name] %>
14 <p><%= t(params[:max_id] ? ".no_more_user" : ".empty_user") %></p>
16 <p><%= t(params[:max_id] ? ".no_more" : ".empty") %></p>