X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/52e5fa6ad78f375cec5a207a123a4aa3939c8ddf..681022443ea24c11d9aeedeb3e1ddc3789b8ffd5:/app/views/changeset/list.html.erb?ds=sidebyside diff --git a/app/views/changeset/list.html.erb b/app/views/changeset/list.html.erb index 5d12aa837..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, :action => :feed }) %> - -<% content_for :head do %> -<%= auto_discovery_link_tag :atom, params.merge({ :page => nil, :action => :feed }) %> +
+
+ <%= 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' %>