X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a36f3558dd43dd5a598e36dd21fd5f7d2b4a94f5..681022443ea24c11d9aeedeb3e1ddc3789b8ffd5:/app/views/changeset/list.html.erb diff --git a/app/views/changeset/list.html.erb b/app/views/changeset/list.html.erb index 8ecdda946..19707cd3f 100644 --- a/app/views/changeset/list.html.erb +++ b/app/views/changeset/list.html.erb @@ -1,35 +1,32 @@ <% content_for :head do -%> + <%= javascript_include_tag "index" %> <%= javascript_include_tag "changeset" %> -<% end -%> - -<% content_for :heading do %> -

<%= @heading %>

- + <% unless params[:friends] or params[:nearby] -%> + <%= auto_discovery_link_tag :atom, params.merge({ :page => nil, :action => :feed }) %> + <% end -%> +<% end -%> -<% end %> +<% content_for :sidebar do %> +

<%= @heading %>

-<%= render :partial => 'changeset_paging_nav' %> + <% if @edits.size > 0 %> +
    + <%= render :partial => 'changeset', + :collection => @edits %> +
-<% if @edits.size > 0 %> - <%= render :partial => 'map' %> -
- <%= render :partial => 'changesets', :locals => { :showusername => !params.has_key?(:display_name) } %> -
- <%= render :partial => 'changeset_paging_nav' %> -<% elsif @user and @user.display_name == params[:display_name] %> -

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

-<% else %> -

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

+
+
+ <%= 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 %> -<% unless params[:friends] or params[:nearby] -%> - <% content_for :head do -%> - <%= auto_discovery_link_tag :atom, params.merge({ :page => nil, :action => :feed }) %> - <% end -%> -<% end -%> \ No newline at end of file +<%= render :template => 'layouts/map' %>