]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/_relation_member.rhtml
Change /index.php/ in wiki.openstreetmap.org links to /wiki/. This looks nicer
[rails.git] / app / views / browse / _relation_member.rhtml
index fe484c3cd8820255304ecbdcfa6b3b1812a7078a..39b89bc0100681be236d477ec7df387bb325e580 100644 (file)
@@ -1,9 +1,9 @@
 <tr>
   <td>
     <%= relation_member.member_type.capitalize %>
 <tr>
   <td>
     <%= relation_member.member_type.capitalize %>
-    <%= link_to relation_member.member_id.to_s, :action => relation_member.member_type.downcase, :id => relation_member.member_id %>
+    <%= link_to h(printable_name(relation_member.member)), :action => relation_member.member_type.downcase, :id => relation_member.member_id.to_s %>
     <% unless relation_member.member_role.blank? %>
     <% unless relation_member.member_role.blank? %>
-      as
+      <%= t'browse.relation_member.as' %>
       <%= h(relation_member.member_role) %>
     <% end %>
   </td>
       <%= h(relation_member.member_role) %>
     <% end %>
   </td>