X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6c66507427961a22a8f282b5b2f4ab7fda1dad6f..e72f35f8d9f9452dcc4da95d46d6c25ca3e063da:/app/views/browse/_node_details.rhtml?ds=inline diff --git a/app/views/browse/_node_details.rhtml b/app/views/browse/_node_details.rhtml index 1aa5bf69c..7982e6805 100644 --- a/app/views/browse/_node_details.rhtml +++ b/app/views/browse/_node_details.rhtml @@ -2,13 +2,18 @@ <%= 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| %> - + <% end %> <%= render :partial => "containing_relation", :collection => node_details.containing_relation_members %>
<%= link_to "Way " + way.id.to_s, :action => "way", :id => way.id.to_s %>
<%= link_to h(printable_name(way)), :action => "way", :id => way.id.to_s %>