-<%= raw t'browse.node.download', :download_xml_link => link_to(t('browse.node.download_xml'), :controller => "old_node", :action => "version", :version => @node.version),
- :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)
-%>
+<%= link_to(t('browse.node.download_xml'), :controller => "node", :action => "read") %>
+| <%= link_to(t('browse.node.view_history'), :action => "node_history") %>
+<% if @node.visible -%>
+| <%= link_to(t('browse.node.edit'), :controller => "site", :action => "edit", :lat => @node.lat, :lon => @node.lon, :zoom => 18, :node => @node.id) %>
+<% end -%>