X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a5c8a3b7f8e02cbf7f5d2f84b9bdb2034fcf22ec..d6b36b5752ff50c0c2aa0e78f784b17a624ee994:/app/views/browse/node.rhtml diff --git a/app/views/browse/node.rhtml b/app/views/browse/node.rhtml index 2a8fd56d9..f798526a8 100644 --- a/app/views/browse/node.rhtml +++ b/app/views/browse/node.rhtml @@ -1,3 +1,24 @@ -

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

-<%= render :partial => 'common', :locals => { :obj => @node, :type => "node" } %> -<%= render :partial => 'tag_table', :locals => { :tags => @node.tags_as_hash } %> +<% +@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" %> +