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 <div id='changeset_list_map_wrapper'>
21 <%= render :partial => 'map' %>
23 <div class='column-1'>
24 <%= render :partial => 'changesets', :locals => { :showusername => !params.has_key?(:display_name) } %>
26 <%= render :partial => 'changeset_paging_nav' %>
27 <% elsif @user and @user.display_name == params[:display_name] %>
28 <h4><%= t('changeset.list.empty_user_html') %></h4>
30 <h4><%= t('changeset.list.empty_anon_html') %></h4>
33 <% unless params[:friends] or params[:nearby] -%>
34 <% content_for :head do -%>
35 <%= auto_discovery_link_tag :atom, params.merge({ :page => nil, :action => :feed }) %>