]> git.openstreetmap.org Git - rails.git/blob - app/views/changeset/list.html.erb
Ignore bounds on elements with geometry
[rails.git] / app / views / changeset / list.html.erb
1 <% if @edits.present? %>
2   <ol class="changesets">
3     <%= render :partial => 'changeset', :collection => @edits %>
4   </ol>
5 <% if @edits.size == 20 -%>
6   <div class="changeset_more">
7     <%= link_to t('changeset.list.load_more'), url_for(params.merge(:max_id => @edits.last.id - 1)), :class => "button load_more" %>
8     <%= image_tag "searching.gif", :class => "loader", :style => "display: none;" %>
9   </div>
10 <% end -%>
11 <% elsif params[:bbox] %>
12   <div class="inner22"><%= t(params[:max_id] ? 'changeset.list.no_more_area' : 'changeset.list.empty_area') %></div>
13 <% elsif params[:display_name] %>
14   <div class="inner22"><%= t(params[:max_id] ? 'changeset.list.no_more_user' : 'changeset.list.empty_user') %></div>
15 <% else %>
16   <div class="inner22"><%= t(params[:max_id] ? 'changeset.list.no_more' : 'changeset.list.empty') %></div>
17 <% end %>