]> 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 7d3f8e829c672d3bc0c05ebc1acaf178cfda4e73..195332b099d5ff98c0a4c600a614030033c94067 100644 (file)
@@ -1,5 +1,9 @@
 <h4>
-  <%= t "browse.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>