X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/47027300607a0eb0127aa408fff508e56ad64021..886712eaf02d5abe7e1e4f762c22293392a234af:/app/views/browse/changeset.html.erb diff --git a/app/views/browse/changeset.html.erb b/app/views/browse/changeset.html.erb index 208ddbd46..db6b9c966 100644 --- a/app/views/browse/changeset.html.erb +++ b/app/views/browse/changeset.html.erb @@ -18,48 +18,37 @@ <% if current_user %>
<% if @changeset.subscribers.exists?(current_user.id) %> - + <% else %> - + <% end %>
<% end %> <% if @comments.length > 0 %> -
- -
+ <% end %> <% unless current_user %> @@ -88,33 +77,51 @@ <% end %> <% unless @ways.empty? %> - <%= render :partial => "paging_nav", :locals => { :heading => type_and_paginated_count("way", @way_pages), :pages => @way_pages, :page_param => "way_page" } %> + <%= render :partial => "paging_nav", :locals => { :type => "way", :pages => @way_pages } %> <% end %> <% unless @relations.empty? %> - <%= render :partial => "paging_nav", :locals => { :heading => type_and_paginated_count("relation", @relation_pages), :pages => @relation_pages, :page_param => "relation_page" } %> + <%= render :partial => "paging_nav", :locals => { :type => "relation", :pages => @relation_pages } %> <% end %> <% unless @nodes.empty? %> - <%= render :partial => "paging_nav", :locals => { :heading => type_and_paginated_count("node", @node_pages), :pages => @node_pages, :page_param => "node_page" } %> + <%= render :partial => "paging_nav", :locals => { :type => "node", :pages => @node_pages } %> <% end %> +
+ <%= link_to(t(".changesetxml"), :controller => "api/changesets", :action => "show") %> + · + <%= link_to(t(".osmchangexml"), :controller => "api/changesets", :action => "download") %> +
+ <% if @next_by_user || @prev_by_user %>
<% if @prev_by_user %> @@ -135,9 +142,3 @@ <% end %>
<% end %> - -
- <%= link_to(t(".changesetxml"), :controller => "api/changesets", :action => "show") %> - · - <%= link_to(t(".osmchangexml"), :controller => "api/changesets", :action => "download") %> -