X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4ca38904dc11fa7329e186bd675e15e3c401ca86..d4f87f6b9b8e33438e75c8d8a40650606009df3c:/app/views/browse/node.rhtml diff --git a/app/views/browse/node.rhtml b/app/views/browse/node.rhtml index c050cf002..19aeb7dca 100644 --- a/app/views/browse/node.rhtml +++ b/app/views/browse/node.rhtml @@ -1,15 +1,23 @@ -<%= 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 = t('browse.node.node') + ' | ' + @name +%> + + + + + + + + <%= render :partial => "map", :object => @node %> + +
+

<%= t'browse.node.node_title', :node_name => h(@name) %>

+
+ <%= render :partial => "navigation" %> +
+ <%= render :partial => "node_details", :object => @node %> +
+ <%= t'browse.node.download', :download_xml_link => link_to(t('browse.node.download_xml'), :controller => "node", :action => "read"), + :view_history_link => link_to(t('browse.node.view_history'), :action => "node_history") %> +