X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5f8ab9e9244550b20b8d3bd97b3567df7020d06d..0b84885cfc566fb2d552c5681c11a2905d28f038:/app/views/browse/_relation_member.rhtml diff --git a/app/views/browse/_relation_member.rhtml b/app/views/browse/_relation_member.rhtml index 516d9e37f..39b89bc01 100644 --- a/app/views/browse/_relation_member.rhtml +++ b/app/views/browse/_relation_member.rhtml @@ -1,9 +1,9 @@ - <%= h(relation_member.member_type.capitalize) %> - <%= link_to relation_member.member_id.to_s, :action => relation_member.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 + <%= t'browse.relation_member.as' %> <%= h(relation_member.member_role) %> <% end %>