]> git.openstreetmap.org Git - rails.git/blob - app/views/browse/_containing_relation.html.erb
Merge remote-tracking branch 'upstream/pull/7190'
[rails.git] / app / views / browse / _containing_relation.html.erb
1 <%# locals: (containing_relation:) %>
2
3 <%= element_list_item "relation", containing_relation.relation do %>
4   <%= linked_name = link_to printable_element_name(containing_relation.relation), containing_relation.relation
5       if containing_relation.member_role.blank?
6         linked_name
7       else
8         t ".entry_role_html", :relation_name => linked_name, :relation_role => containing_relation.member_role
9       end %>
10 <% end %>