X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/22292debda11f9940ed98faa5f9c01697d6bfcaa..90f6dac51ebaee0ac720540c25b79d5b865896e6:/app/views/browse/_way_details.rhtml diff --git a/app/views/browse/_way_details.rhtml b/app/views/browse/_way_details.rhtml index 1122c80f3..4dc7b2b2e 100644 --- a/app/views/browse/_way_details.rhtml +++ b/app/views/browse/_way_details.rhtml @@ -3,11 +3,16 @@ <%= render :partial => "common_details", :object => way_details %>
<%= link_to h(printable_name(wn.node)), :action => "node", :id => wn.node_id.to_s %> |
+ <%= link_to h(printable_name(wn.node)), :action => "node", :id => wn.node_id.to_s %> + <% if wn.node.ways.size > 1 then %> + (also part of <%= wn.node.ways.reject { |w| w.id == way_details.id }.map { |w| link_to(h(printable_name(w)), :action => "way", :id => w.id.to_s) }.join(", ") %>) + <% end %> + |