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 class="mx-3"><%= params[:max_id] ? t(".no_more_area") : t(".empty_area") %></p>
17 <% elsif params[:display_name] %>
18 <p class="mx-3"><%= params[:max_id] ? t(".no_more_user") : t(".empty_user") %></p>
20 <p class="mx-3"><%= params[:max_id] ? t(".no_more") : t(".empty") %></p>