X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/52e5fa6ad78f375cec5a207a123a4aa3939c8ddf..0a3aba7f891ba55a5500f02907cec15d44554eae:/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 %>