X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6fb857020092c909043c4521b91a040f3bb16937..681022443ea24c11d9aeedeb3e1ddc3789b8ffd5:/app/views/changeset/list.html.erb diff --git a/app/views/changeset/list.html.erb b/app/views/changeset/list.html.erb index 0333be5cc..19707cd3f 100644 --- a/app/views/changeset/list.html.erb +++ b/app/views/changeset/list.html.erb @@ -1,12 +1,32 @@ -

<%= @heading %>

-

<%= @description %>

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

<%= @heading %>

-<% content_for :head do %> -<%= auto_discovery_link_tag :atom, params.merge({ :page => nil, :format => :atom }) %> + <% if @edits.size > 0 %> +
    + <%= render :partial => 'changeset', + :collection => @edits %> +
+ +
+
+ <%= 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' %>