X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/68360190d52272d4709904c5f6d63122ef3580cb..d06081a63ed8e6bfb2e05f087aada3ab2fb4c2b4:/app/views/browse/_relation_member.rhtml diff --git a/app/views/browse/_relation_member.rhtml b/app/views/browse/_relation_member.rhtml index 8be58d16f..ce982e2db 100644 --- a/app/views/browse/_relation_member.rhtml +++ b/app/views/browse/_relation_member.rhtml @@ -1,7 +1,7 @@ - <%= h(relation_member.member_type.capitalize) %> - <%= link_to relation_member.member_id.to_s, :action => relation_member.downcase.member_type, :id => relation_member.member_id %> + <%= relation_member.member_type.capitalize %> + <%= 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? %> as <%= h(relation_member.member_role) %>