]> git.openstreetmap.org Git - rails.git/blob - app/views/browse/_containing_relation.html.erb
Merge remote-tracking branch 'upstream/pull/1964'
[rails.git] / app / views / browse / _containing_relation.html.erb
1 <li><%=
2   linked_name = link_to h(printable_name(containing_relation.relation)), :action => "relation", :id => containing_relation.relation.id.to_s
3   if containing_relation.member_role.blank?
4     raw t '.entry', :relation_name => linked_name
5   else
6     raw t '.entry_role', :relation_name => linked_name, :relation_role => h(containing_relation.member_role)
7   end
8 %></li>