]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/_node_details.html.erb
Patch from bug #2787 to add icons to data browser pages
[rails.git] / app / views / browse / _node_details.html.erb
index 7982e68052b448a2d69cccaa73f8e90d8b5c617c..4d762330f6a63c755b4accf385c5dd0a574803c3 100644 (file)
@@ -13,7 +13,7 @@
       <td>
         <table cellpadding="0">
           <% node_details.ways.each do |way| %>
-            <tr><td><%= link_to h(printable_name(way)), :action => "way", :id => way.id.to_s %></td></tr>
+            <tr><td><%= link_to h(printable_name(way)), { :action => "way", :id => way.id.to_s }, :class => css_class('way', way), :title => link_title(way) %></td></tr>
           <% end %>
           <%= render :partial => "containing_relation", :collection => node_details.containing_relation_members %>
         </table>