The display area here uses negative margins to make the flush list work, so we need to add them back in for normal text.
21 lines
856 B
Text
21 lines
856 B
Text
<% if @changesets.present? %>
|
|
<ol class="changesets list-group list-group-flush">
|
|
<%= render @changesets %>
|
|
</ol>
|
|
<% if @changesets.size == 20 -%>
|
|
<div class="changeset_more mt-3 text-center">
|
|
<%= link_to t(".load_more"), url_for(@params.merge(:max_id => @changesets.last.id - 1)), :class => "btn btn-primary" %>
|
|
<div class="text-center loader">
|
|
<div class="spinner-border" role="status">
|
|
<span class="visually-hidden"><%= t("browse.start_rjs.loading") %></span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<% end -%>
|
|
<% elsif params[:bbox] %>
|
|
<p class="mx-3"><%= t(params[:max_id] ? ".no_more_area" : ".empty_area") %></p>
|
|
<% elsif params[:display_name] %>
|
|
<p class="mx-3"><%= t(params[:max_id] ? ".no_more_user" : ".empty_user") %></p>
|
|
<% else %>
|
|
<p class="mx-3"><%= t(params[:max_id] ? ".no_more" : ".empty") %></p>
|
|
<% end %>
|