]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/_relation_details.html.erb
Added tests for browsing object histories with redacted elements
[rails.git] / app / views / browse / _relation_details.html.erb
index 95e1743b5dfa8d90100650e2e96a0f3d9c7a6816..25b5f0fcabb526a1c845a994afa27edb87f7ec81 100644 (file)
@@ -1,3 +1,6 @@
+<% if relation_details.redacted? %>
+<p><%= raw t 'browse.redacted.message', :type => t('browse.redacted.type.relation'), :redaction_link => link_to(relation_details.redaction) %></p>
+<% else %>
 <table class="browse_details" id="<%= relation_details.version %>">
 
   <%= render :partial => "common_details", :object => relation_details %>
@@ -25,3 +28,4 @@
   <% end %>
 
 </table>
+<% end %>