X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0cb97bd7d96030c07d9716c3d26d39bcd4f712ff..a7219de757755d13cbf93fd82cfbfa3c362bf516:/app/views/browse/node.rhtml?ds=sidebyside 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") %> +