]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/_common_details.html.erb
Re-introduce additional round trip for verifying auth_provider
[rails.git] / app / views / browse / _common_details.html.erb
index b28e72c752e652e7f4ebfe1a528b9be1874c6741..195332b099d5ff98c0a4c600a614030033c94067 100644 (file)
@@ -1,6 +1,10 @@
 <h4>
-  <%= t "browse.version" %>
-  #<%= common_details.version %>
+  <%= if common_details.redacted?
+        t "browse.redacted_version"
+      else
+        t "browse.version"
+      end %>
+  #<%= link_to_unless_current common_details.version, :controller => "old_#{@type.pluralize}", :action => :show, :version => common_details.version %>
 </h4>
 
 <p class="fst-italic">