X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c1db05321a4451d6fb2d148e2b4e86bd7b13732e..3d874a5d61b332cefe944b77cfa38a1061425d3f:/app/views/browse/_way_details.html.erb diff --git a/app/views/browse/_way_details.html.erb b/app/views/browse/_way_details.html.erb index 648009f56..1313cb250 100644 --- a/app/views/browse/_way_details.html.erb +++ b/app/views/browse/_way_details.html.erb @@ -1,3 +1,6 @@ +<% if way_details.redacted? %> +

<%= t 'browse.redacted.message_html', :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 %>

+<% else %> <%= render :partial => "common_details", :object => way_details %> @@ -33,3 +36,4 @@ <% end %>
+<% end %>