-<h1><%= @title %></h1>
-<p><%= @description %></p>
+<% content_for :head do -%>
+ <%= javascript_include_tag "changeset" %>
+<% end -%>
-<%= render :partial => 'changeset_paging_nav' %>
-<%= render :partial => 'changesets', :locals => { :showusername => !params.has_key?(:display_name) } %>
-<%= render :partial => 'changeset_paging_nav' %>
+<h1><%= @heading %></h1>
+<p><%= raw(@description) %></p>
-<%= rss_link_to params.merge({ :format => :rss }) %>
+<% if @edits.size > 0 %>
+ <%= render :partial => 'changeset_paging_nav' %>
-<% content_for :head do %>
-<%= auto_discovery_link_tag :atom, params.merge({ :format => :rss }) %>
+ <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 -%>