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="text-center loader">
9 <div class="spinner-border" role="status">
10 <span class="visually-hidden"><%= t("browse.start_rjs.loading") %></span>
15 <% elsif params[:bbox] %>
16 <p><%= t(params[:max_id] ? ".no_more_area" : ".empty_area") %></p>
17 <% elsif params[:display_name] %>
18 <p><%= t(params[:max_id] ? ".no_more_user" : ".empty_user") %></p>
20 <p><%= t(params[:max_id] ? ".no_more" : ".empty") %></p>