X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e19be03313fb226b8397d67dd6dc33d58a1444d0..2047f7cc9b85686e1f4598e60dd241c04ef2989c:/app/views/browse/_node_details.html.erb diff --git a/app/views/browse/_node_details.html.erb b/app/views/browse/_node_details.html.erb index f7d4e0e7c..148a71dea 100644 --- a/app/views/browse/_node_details.html.erb +++ b/app/views/browse/_node_details.html.erb @@ -1,10 +1,10 @@ - +
<%= render :partial => "common_details", :object => node_details %> - + <% unless node_details.ways.empty? and node_details.containing_relation_members.empty? %> @@ -13,7 +13,7 @@
<%= 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"}, { :rel => "nofollow" } %>
<%= 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"} %>
<% node_details.ways.each do |way| %> - + <% end %> <%= render :partial => "containing_relation", :collection => node_details.containing_relation_members %>
<%= link_to h(printable_name(way)), :action => "way", :id => way.id.to_s %>
<%= link_to h(printable_name(way)), { :action => "way", :id => way.id.to_s }, :class => link_class('way', way), :title => link_title(way) %>