]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/old_relations/show.html.erb
Link to details from relation version pages
[rails.git] / app / views / old_relations / show.html.erb
index dd52b383370dbcb14cfd0748dc73cbae37e54947..29d0b0079c6dab4f239d23379b5816cc9b65197c 100644 (file)
@@ -4,11 +4,13 @@
 
 <%= render :partial => "browse/relation", :object => @feature %>
 
-<% unless @feature.redacted? %>
-  <div class='secondary-actions'>
+<div class='secondary-actions'>
+  <% unless @feature.redacted? %>
     <%= link_to t("browse.download_xml"), relation_version_path(*@feature.id) %>
-  </div>
-<% end %>
+    &middot;
+  <% end %>
+  <%= link_to t("browse.view_details"), relation_path(@feature.relation_id) %>
+</div>
 
 <div class='secondary-actions'>
   <% if @feature.version > 1 %>