<h1><%= @heading %></h1>
<p><%= raw(@description) %></p>
-<%= render :partial => 'changeset_paging_nav' %>
+<% 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>
+ <div id="changeset_list_container">
+ <%= render :partial => 'map' %>
+ <%= render :partial => 'changesets', :locals => { :showusername => !params.has_key?(:display_name) } %>
+ </div>
-<%= render :partial => 'changeset_paging_nav' %>
+ <%= 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 %>
+<% content_for :head do -%>
<%= auto_discovery_link_tag :atom, params.merge({ :page => nil, :action => :feed }) %>
-<% end %>
+<% end -%>
+<% end -%>