]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/node.html.erb
Simplified common details
[rails.git] / app / views / browse / node.html.erb
index 95176ab04305610c1a34159b42d1202932589cd3..9fc915a126fdd81f81dd4a94e86b288bab5202ba 100644 (file)
@@ -2,12 +2,12 @@
 @name = printable_name @node
 @title = t('browse.node.node') + ' | ' + @name
 %>
-<%= render :partial => "navigation" %>
-<h2><%= t'browse.node.node_title', :node_name => h(@name) %></h2>
-<%= render :partial => "map", :object => @node %>
+
+<h2><%= t'browse.node.node_title', :node_name => @name %></h2>
+
 <%= render :partial => "node_details", :object => @node %>
-<hr />
-<%= 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"),
-                             :edit_link => link_to(t('browse.node.edit'), :controller => "site", :action => "edit", :lat => @node.lat, :lon => @node.lon, :zoom => 18, :node => @node.id)
-%>
+
+<ul class='secondary-actions clearfix'>
+  <li><%= link_to(t('browse.node.download_xml'), :controller => "node", :action => "read") %></li>
+  <li><%= link_to(t('browse.node.view_history'), :action => "node_history") %></li>
+</ul>