]> git.openstreetmap.org Git - rails.git/blob - app/views/browse/_containing_relation.html.erb
Simplify changeset/element-related link_to calls
[rails.git] / app / views / browse / _containing_relation.html.erb
1 <li><%= linked_name = link_to printable_element_name(containing_relation.relation), containing_relation.relation
2         if containing_relation.member_role.blank?
3           t ".entry_html", :relation_name => linked_name
4         else
5           t ".entry_role_html", :relation_name => linked_name, :relation_role => containing_relation.member_role
6         end %>
7 </li>