]> git.openstreetmap.org Git - rails.git/blob - app/views/browse/_relation_member.html.erb
Rework the login page to make it a bit cleaner
[rails.git] / app / views / browse / _relation_member.html.erb
1 <tr>
2   <td><%=
3     linked_name = link_to h(printable_name(relation_member.member)), :action => relation_member.member_type.downcase, :id => relation_member.member_id.to_s
4     type_str = t'browse.relation_member.type.' + relation_member.member_type.downcase
5
6     if relation_member.member_role.blank?
7       t'browse.relation_member.entry', :type => type_str, :name => linked_name
8     else
9       t'browse.relation_member.entry_role', :type => type_str, :name => linked_name, :role => h(relation_member.member_role)
10     end
11   %></td>
12 </tr>