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 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 <div class="inner22"><%= t(params[:max_id] ? ".no_more_area" : ".empty_area") %></div>
13 <% elsif params[:display_name] %>
14 <div class="inner22"><%= t(params[:max_id] ? ".no_more_user" : ".empty_user") %></div>
16 <div class="inner22"><%= t(params[:max_id] ? ".no_more" : ".empty") %></div>