]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/old_nodes/show.html.erb
Don't update deactivates_at if block was already viewed
[rails.git] / app / views / old_nodes / show.html.erb
index b5758b44a77b0c44b90c4604331391fae46f33c6..093a3e7c15c962c45ca5694adbeebf45c71737ba 100644 (file)
@@ -1,11 +1,7 @@
-<% set_title t("browse.node.title_html", :name => printable_name(@feature)) %>
+<% set_title t("browse.node.title_html", :name => printable_element_name(@feature)) %>
 
-<%= render "sidebar_header", :title => t("browse.node.title_html", :name => printable_name(@feature)) %>
+<%= render "sidebar_header", :title => t("browse.node.title_html", :name => printable_element_name(@feature)) %>
 
 <%= render :partial => "browse/node", :object => @feature %>
 
-<% unless @feature.redacted? %>
-  <div class='secondary-actions'>
-    <%= link_to t("browse.download_xml"), node_version_path(*@feature.id) %>
-  </div>
-<% end %>
+<%= render :partial => "browse/version_actions" %>