]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/_containing_relation.rhtml
adapt for larger fonts on Linux; fix indexing with renumbered nodes
[rails.git] / app / views / browse / _containing_relation.rhtml
index 013a7b6d7bf411f27ba34e0ff143ca738f07bb6b..f5317f0453f97f473c85719e56c92b1ad0fcb71e 100644 (file)
@@ -1,6 +1,6 @@
 <tr>
   <td>
-    <%= link_to "Relation " + containing_relation.relation.id.to_s, :action => "relation", :id => containing_relation.relation.id.to_s %>
+    <%= link_to "Relation " + h(printable_name(containing_relation.relation)), :action => "relation", :id => containing_relation.relation.id.to_s %>
     <% unless containing_relation.member_role.blank? %>
       (as <%= h(containing_relation.member_role) %>)
     <% end %>