X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/22292debda11f9940ed98faa5f9c01697d6bfcaa..5b0024e61abe15543740bdc4b58c673d62a394d2:/app/views/browse/_node_details.rhtml?ds=sidebyside diff --git a/app/views/browse/_node_details.rhtml b/app/views/browse/_node_details.rhtml index 492aa06db..7982e6805 100644 --- a/app/views/browse/_node_details.rhtml +++ b/app/views/browse/_node_details.rhtml @@ -2,9 +2,14 @@ <%= render :partial => "common_details", :object => node_details %> + + <%= t 'browse.node_details.coordinates' %> +
<%= link_to ("#{number_with_delimiter(node_details.lat)}, #{number_with_delimiter(node_details.lon)}"), {:controller => 'site', :action => 'index', :lat => h(node_details.lat), :lon => h(node_details.lon), :zoom => "18"} %>
+ + <% unless node_details.ways.empty? and node_details.containing_relation_members.empty? %> - Part of: + <%= t 'browse.node_details.part_of' %> <% node_details.ways.each do |way| %>