-<h1><%= t'changeset.list.recent_changes' %></h1>
-<p><%= t'changeset.list.recently_edited_changesets' %></p>
+<% content_for :head do -%>
+ <%= javascript_include_tag "changeset" %>
+<% end -%>
-<%= render :partial => 'changesets' %>
+<h1><%= @heading %></h1>
+<p><%= raw(@description) %></p>
-<p><%= t'changeset.list.for_more_changesets' %></p>
-<br>
+<% if @edits.size > 0 %>
+ <%= render :partial => 'changeset_paging_nav' %>
+
+ <div id="changeset_list_container">
+ <%= render :partial => 'map' %>
+ <%= render :partial => 'changesets', :locals => { :showusername => !params.has_key?(:display_name) } %>
+ </div>
+
+ <%= render :partial => 'changeset_paging_nav' %>
+<% elsif @user and @user.display_name == params[:display_name] %>
+ <p><%= t('changeset.list.empty_user_html') %></p>
+<% else %>
+ <p><%= t('changeset.list.empty_anon_html') %></p>
+<% end %>
+
+<% unless params[:friends] or params[:nearby] -%>
+<%= atom_link_to params.merge({ :page => nil, :action => :feed }) %>
+
+<% content_for :head do -%>
+<%= auto_discovery_link_tag :atom, params.merge({ :page => nil, :action => :feed }) %>
+<% end -%>
+<% end -%>