X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0e78061cdba5cfb3f299f57b7643d2b396ee235b..f433fb3d4eb9ba9d26aad2070d316e2e7d35b8b9:/app/views/browse/changeset.html.erb
diff --git a/app/views/browse/changeset.html.erb b/app/views/browse/changeset.html.erb
index 079915fcf..523cb84d6 100644
--- a/app/views/browse/changeset.html.erb
+++ b/app/views/browse/changeset.html.erb
@@ -6,7 +6,7 @@
<%= linkify(@changeset.tags["comment"].to_s.presence || t("browse.no_comment")) %>
- <%= changeset_details(@changeset) %>
+ <%= changeset_details(@changeset) %>
<%= render :partial => "tag_details", :object => @changeset.tags.except("comment") %>
@@ -63,14 +63,14 @@
<% end %>
<% unless current_user %>
-
+
<%= link_to(t(".join_discussion"), login_path(:referer => request.fullpath)) %>
-
+
<% end %>
<% if current_user %>
<% unless @changeset.is_open? %>
-
<% else %>
-
- <%= t(".still_open") %>
-
+
+ <%= t(".still_open") %>
+
<% end %>
<% end %>
<% unless @ways.empty? %>
-
- <%= type_and_paginated_count("way", @way_pages) %>
- <%= render :partial => "paging_nav", :locals => { :pages => @way_pages, :page_param => "way_page" } %>
-
+ <%= render :partial => "paging_nav", :locals => { :heading => type_and_paginated_count("way", @way_pages), :pages => @way_pages, :page_param => "way_page" } %>
<% @ways.each do |way| %>
- <%= link_to printable_name(way, :version => true), { :action => "way", :id => way.way_id.to_s }, { :class => link_class("way", way), :title => link_title(way) } %>
@@ -98,10 +95,7 @@
<% end %>
<% unless @relations.empty? %>
-
- <%= type_and_paginated_count("relation", @relation_pages) %>
- <%= render :partial => "paging_nav", :locals => { :pages => @relation_pages, :page_param => "relation_page" } %>
-
+ <%= render :partial => "paging_nav", :locals => { :heading => type_and_paginated_count("relation", @relation_pages), :pages => @relation_pages, :page_param => "relation_page" } %>
<% @relations.each do |relation| %>
- <%= link_to printable_name(relation, :version => true), { :action => "relation", :id => relation.relation_id.to_s }, { :class => link_class("relation", relation), :title => link_title(relation) } %>
@@ -110,10 +104,7 @@
<% end %>
<% unless @nodes.empty? %>
-
- <%= type_and_paginated_count("node", @node_pages) %>
- <%= render :partial => "paging_nav", :locals => { :pages => @node_pages, :page_param => "node_page" } %>
-
+ <%= render :partial => "paging_nav", :locals => { :heading => type_and_paginated_count("node", @node_pages), :pages => @node_pages, :page_param => "node_page" } %>
<% @nodes.each do |node| %>
- <%= link_to printable_name(node, :version => true), { :action => "node", :id => node.node_id.to_s }, { :class => link_class("node", node), :title => link_title(node), :rel => link_follow(node) } %>