]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/_relation_details.html.erb
Fixed redaction link in browse/history page
[rails.git] / app / views / browse / _relation_details.html.erb
index 25b5f0fcabb526a1c845a994afa27edb87f7ec81..cfa03678f944b385f22816f93c0bdbd4c9de456c 100644 (file)
@@ -1,5 +1,5 @@
 <% if relation_details.redacted? %>
 <% if relation_details.redacted? %>
-<p><%= raw t 'browse.redacted.message', :type => t('browse.redacted.type.relation'), :redaction_link => link_to(relation_details.redaction) %></p>
+<p><%= raw t 'browse.redacted.message', :type => t('browse.redacted.type.relation'), :redaction_link => link_to(t('browse.redacted.redaction', :id => relation_details.redaction.id), relation_details.redaction), :version => relation_details.version %></p>
 <% else %>
 <table class="browse_details" id="<%= relation_details.version %>">
 
 <% else %>
 <table class="browse_details" id="<%= relation_details.version %>">