]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/_node_details.rhtml
Data browser changes, make links more user friendly, displaying name tag where possible.
[rails.git] / app / views / browse / _node_details.rhtml
index 1aa5bf69cdf57eeb3cd51918e1ba2d72213c59fb..492aa06db43f44de461eb2a834ff01010bc8b45c 100644 (file)
@@ -8,7 +8,7 @@
       <td>
         <table cellpadding="0">
           <% node_details.ways.each do |way| %>
-            <tr><td><%= link_to "Way " + way.id.to_s, :action => "way", :id => way.id.to_s %></td></tr>
+            <tr><td><%= link_to h(printable_name(way)), :action => "way", :id => way.id.to_s %></td></tr>
           <% end %>
           <%= render :partial => "containing_relation", :collection => node_details.containing_relation_members %>
         </table>