X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/81f5c72c76f36e7c712bac0ad54b37d945caa51f..ac0603d055759a1448a05607e12006c69a39e0d3:/app/views/browse/_relation_details.html.erb diff --git a/app/views/browse/_relation_details.html.erb b/app/views/browse/_relation_details.html.erb index 3c17e63f6..cfa03678f 100644 --- a/app/views/browse/_relation_details.html.erb +++ b/app/views/browse/_relation_details.html.erb @@ -1,4 +1,7 @@ - +<% if relation_details.redacted? %> +

<%= 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 %>

+<% else %> +
<%= render :partial => "common_details", :object => relation_details %> @@ -25,3 +28,4 @@ <% end %>
+<% end %>