X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/11cc4a5e601dd288d601e6e35a72d159062f18b5..1c7ead6008397ce815de4102d023a708be636a3c:/app/views/changesets/index.html.erb?ds=inline diff --git a/app/views/changesets/index.html.erb b/app/views/changesets/index.html.erb index 1e3daa081..fc5f7cbbc 100644 --- a/app/views/changesets/index.html.erb +++ b/app/views/changesets/index.html.erb @@ -1,17 +1,21 @@ <% if @changesets.present? %> -
    +
      <%= render @changesets %>
    <% if @changesets.size == 20 -%> -
    - <%= link_to t(".load_more"), url_for(@params.merge(:max_id => @changesets.last.id - 1)), :class => "button load_more" %> -
    <%= image_tag "searching.gif" %>
    +
    + <%= link_to t(".load_more"), url_for(@params.merge(:max_id => @changesets.last.id - 1)), :class => "btn btn-primary" %> +
    +
    + <%= t("browse.start_rjs.loading") %> +
    +
    <% end -%> <% elsif params[:bbox] %> -
    <%= t(params[:max_id] ? ".no_more_area" : ".empty_area") %>
    +

    <%= params[:max_id] ? t(".no_more_area") : t(".empty_area") %>

    <% elsif params[:display_name] %> -
    <%= t(params[:max_id] ? ".no_more_user" : ".empty_user") %>
    +

    <%= params[:max_id] ? t(".no_more_user") : t(".empty_user") %>

    <% else %> -
    <%= t(params[:max_id] ? ".no_more" : ".empty") %>
    +

    <%= params[:max_id] ? t(".no_more") : t(".empty") %>

    <% end %>