X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a39d997cf4195d040efdbf322ca6e2775220f0b0..7f611b295f39b8c42219a5ce6c84582db74ce8f7:/app/views/old_nodes/show.html.erb diff --git a/app/views/old_nodes/show.html.erb b/app/views/old_nodes/show.html.erb index ba7c10ecb..093a3e7c1 100644 --- a/app/views/old_nodes/show.html.erb +++ b/app/views/old_nodes/show.html.erb @@ -1,23 +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? %> -
- <%= link_to t("browse.download_xml"), node_version_path(*@feature.id) %> -
-<% end %> - -
- <% if @feature.version > 1 %> - <%= link_to "<< #{t('browse.version')} ##{@feature.version - 1}", old_node_path(@feature.node_id, @feature.version - 1) %> - · - <% end %> - <%= link_to t("browse.view_history"), node_history_path(@feature.node_id) %> - <% if @feature.version < @feature.current_node.version %> - · - <%= link_to "#{t('browse.version')} ##{@feature.version + 1} >>", old_node_path(@feature.node_id, @feature.version + 1) %> - <% end %> -
+<%= render :partial => "browse/version_actions" %>