1 <% content_for :head do -%>
2 <%= javascript_include_tag "changeset" %>
5 <% content_for :heading do %>
7 <h1><%= @heading %></h1>
8 <ul class='secondary-actions clearfix'>
9 <li><%= raw(@description) %></li>
10 <% unless params[:friends] or params[:nearby] -%>
11 <li><%= atom_link_to params.merge({ :page => nil, :action => :feed }) %></li>
17 <%= render :partial => 'changeset_paging_nav' %>
19 <% if @edits.size > 0 %>
20 <%= render :partial => 'map' %>
21 <div class='column-1'>
22 <%= render :partial => 'changesets', :locals => { :showusername => !params.has_key?(:display_name) } %>
24 <%= render :partial => 'changeset_paging_nav' %>
25 <% elsif @user and @user.display_name == params[:display_name] %>
26 <h4><%= t('changeset.list.empty_user_html') %></h4>
28 <h4><%= t('changeset.list.empty_anon_html') %></h4>
31 <% unless params[:friends] or params[:nearby] -%>
32 <% content_for :head do -%>
33 <%= auto_discovery_link_tag :atom, params.merge({ :page => nil, :action => :feed }) %>