X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/18899f2867c85ea4bff8ecb188f57768300b4f8d..a39d997cf4195d040efdbf322ca6e2775220f0b0:/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 b5758b44a..ba7c10ecb 100644 --- a/app/views/old_nodes/show.html.erb +++ b/app/views/old_nodes/show.html.erb @@ -9,3 +9,15 @@ <%= 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 %> +