-<% content_for :head do -%>
- <%= javascript_include_tag "index" %>
- <%= javascript_include_tag "changeset" %>
-
- <% unless params[:friends] or params[:nearby] -%>
- <%= auto_discovery_link_tag :atom, params.merge({ :page => nil, :action => :feed }) %>
- <% end -%>
+<% if @edits.present? %>
+ <ol class="changesets">
+ <%= render :partial => 'changeset', :collection => @edits %>
+ </ol>
+<% if @edits.size == 20 -%>
+ <div class="changeset_more">
+ <%= link_to t('changeset.list.load_more'), url_for(@params.merge(:max_id => @edits.last.id - 1)), :class => "button load_more" %>
+ <%= image_tag "searching.gif", :class => "loader", :style => "display: none;" %>
+ </div>