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