]> git.openstreetmap.org Git - rails.git/blob - app/views/browse/_containing_relation.html.erb
Merge remote-tracking branch 'osmlab/user-display'
[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 'browse.containing_relation.entry', :relation_name => linked_name
5   else
6     raw t 'browse.containing_relation.entry_role', :relation_name => linked_name, :relation_role => h(containing_relation.member_role)
7   end
8 %></li>