]> git.openstreetmap.org Git - rails.git/blob - app/views/browse/_relation_member.html.erb
Update bundle
[rails.git] / app / views / browse / _relation_member.html.erb
1 <% member_class = link_class(relation_member.member_type.downcase, relation_member.member)
2    linked_name = link_to printable_name(relation_member.member), { :action => relation_member.member_type.downcase, :id => relation_member.member_id.to_s }, { :title => link_title(relation_member.member), :rel => link_follow(relation_member.member) }
3    type_str = t ".type." + relation_member.member_type.downcase %>
4 <li class="<%= member_class %>">
5   <%= if relation_member.member_role.blank?
6         raw t ".entry", :type => type_str, :name => linked_name
7       else
8         raw t ".entry_role", :type => type_str, :name => linked_name, :role => h(relation_member.member_role)
9       end %>
10 </li>