X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/22594361d5abd2a6ee18e290058d9d39d7d761ec..681022443ea24c11d9aeedeb3e1ddc3789b8ffd5:/app/views/changeset/list.html.erb diff --git a/app/views/changeset/list.html.erb b/app/views/changeset/list.html.erb index c7cf63353..19707cd3f 100644 --- a/app/views/changeset/list.html.erb +++ b/app/views/changeset/list.html.erb @@ -1,17 +1,32 @@ -

<%= @heading %>

-

<%= raw(@description) %>

+<% content_for :head do -%> + <%= javascript_include_tag "index" %> + <%= javascript_include_tag "changeset" %> -<%= render :partial => 'changeset_paging_nav' %> + <% unless params[:friends] or params[:nearby] -%> + <%= auto_discovery_link_tag :atom, params.merge({ :page => nil, :action => :feed }) %> + <% end -%> +<% end -%> -
- <%= render :partial => 'map' %> - <%= render :partial => 'changesets', :locals => { :showusername => !params.has_key?(:display_name) } %> -
+<% content_for :sidebar do %> +

<%= @heading %>

-<%= render :partial => 'changeset_paging_nav' %> + <% if @edits.size > 0 %> +
    + <%= render :partial => 'changeset', + :collection => @edits %> +
-<%= atom_link_to params.merge({ :page => nil, :format => :atom }) %> - -<% content_for :head do %> -<%= auto_discovery_link_tag :atom, params.merge({ :page => nil, :format => :atom }) %> +
+
+ <%= link_to t('geocoder.results.more_results'), '#', :class => "button" %> +
+ <%= image_tag "searching.gif", :class => ["search_searching", "hidden"] %> +
+ <% elsif @user and @user.display_name == params[:display_name] %> +

<%= t('changeset.list.empty_user_html') %>

+ <% else %> +

<%= t('changeset.list.empty_anon_html') %>

+ <% end %> <% end %> + +<%= render :template => 'layouts/map' %>