X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/94a48482e0bef11bdaf11f0200b4296ee8fabf23..dddef7672e37e85e14af7aa2ffbd95214bd2689f:/app/views/changesets/index.html.erb
diff --git a/app/views/changesets/index.html.erb b/app/views/changesets/index.html.erb
index cedd3e83a..1e3daa081 100644
--- a/app/views/changesets/index.html.erb
+++ b/app/views/changesets/index.html.erb
@@ -1,17 +1,17 @@
-<% if @edits.present? %>
+<% if @changesets.present? %>
- <%= render :partial => 'changeset', :collection => @edits %>
+ <%= render @changesets %>
-<% if @edits.size == 20 -%>
+<% if @changesets.size == 20 -%>
- <%= link_to t('.load_more'), url_for(@params.merge(:max_id => @edits.last.id - 1)), :class => "button load_more" %>
+ <%= link_to t(".load_more"), url_for(@params.merge(:max_id => @changesets.last.id - 1)), :class => "button load_more" %>
<%= image_tag "searching.gif" %>
<% end -%>
<% elsif params[:bbox] %>
- <%= t(params[:max_id] ? '.no_more_area' : '.empty_area') %>
+ <%= t(params[:max_id] ? ".no_more_area" : ".empty_area") %>
<% elsif params[:display_name] %>
- <%= t(params[:max_id] ? '.no_more_user' : '.empty_user') %>
+ <%= t(params[:max_id] ? ".no_more_user" : ".empty_user") %>
<% else %>
- <%= t(params[:max_id] ? '.no_more' : '.empty') %>
+ <%= t(params[:max_id] ? ".no_more" : ".empty") %>
<% end %>