X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/9a3ef885bb72adbde0b968ce67135b8f7b257f35..9aaafcb4257af4676e8ea989cc39137bd8970675:/app/views/browse/_changeset_details.html.erb
diff --git a/app/views/browse/_changeset_details.html.erb b/app/views/browse/_changeset_details.html.erb
index 24d5da08c..6e3cbdb2e 100644
--- a/app/views/browse/_changeset_details.html.erb
+++ b/app/views/browse/_changeset_details.html.erb
@@ -53,7 +53,7 @@
<% @nodes.each do |node| %>
- <%= link_to h(printable_name(node, true)), :action => "node", :id => node.id.to_s %> |
+ <%= link_to h(printable_name(node, true)), { :action => "node", :id => node.id.to_s }, :class => link_class('node', node), :title => link_title(node) %> |
<% end %>
|
@@ -67,7 +67,7 @@
<% @ways.each do |way| %>
- <%= link_to h(printable_name(way, true)), :action => "way", :id => way.id.to_s %> |
+ <%= link_to h(printable_name(way, true)), { :action => "way", :id => way.id.to_s }, :class => link_class('way', way), :title => link_title(way) %> |
<% end %>
<%=
#render :partial => "containing_relation", :collection => changeset_details.containing_relation_members
@@ -84,7 +84,7 @@
<% @relations.each do |relation| %>
- <%= link_to h(printable_name(relation, true)), :action => "relation", :id => relation.id.to_s %> |
+ <%= link_to h(printable_name(relation, true)), { :action => "relation", :id => relation.id.to_s }, :class => "relation " %> |
<% end %>
|
|