X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4ca38904dc11fa7329e186bd675e15e3c401ca86..961020a5dc3c9e0dd8d02b72132e25a22edb91bd:/app/views/browse/node.rhtml diff --git a/app/views/browse/node.rhtml b/app/views/browse/node.rhtml index c050cf002..f798526a8 100644 --- a/app/views/browse/node.rhtml +++ b/app/views/browse/node.rhtml @@ -1,15 +1,24 @@ -<%= render :partial => 'navigation', :locals => { :type => "node" } %> -

Node Browser: <%= h(@name) %>

-<%= render :partial => 'common', :locals => { :obj => @node, :type => "node" } %> -<%= render :partial => 'tag_table', :locals => { :tags => @node.tags_as_hash } %> -<% if @node.ways.length != 0 %> -
-
-

Part of:

- -
-<% end %> +<% +@name = printable_name @node +@title = 'Node | ' + @name +%> + + + + + + + + <%= render :partial => "map", :object => @node %> + +
+

Node: <%= h(@name) %>

+
+ <%= render :partial => "navigation" %> +
+ <%= render :partial => "node_details", :object => @node %> +
+ <%= link_to "Download XML", :controller => "node", :action => "read" %> + or + <%= link_to "view history", :action => "node_history" %> +