]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/_node_details.html.erb
Don't allow headings in the data browser to be split
[rails.git] / app / views / browse / _node_details.html.erb
index 7982e68052b448a2d69cccaa73f8e90d8b5c617c..148a71dea9ae1f3aa48da2d36b338756cd650bdb 100644 (file)
@@ -1,4 +1,4 @@
-<table>
+<table class="browse_details" id="<%= node_details.version %>">
 
   <%= render :partial => "common_details", :object => node_details %>
 
@@ -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 => link_class('way', way), :title => link_title(way) %></td></tr>
           <% end %>
           <%= render :partial => "containing_relation", :collection => node_details.containing_relation_members %>
         </table>