X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/edaddbedaec78a252e988e2271962407e64483fd..e338d1140884bb2bf3ed1b8fc85c890d0937ef8c:/app/views/browse/_relation_details.html.erb?ds=sidebyside diff --git a/app/views/browse/_relation_details.html.erb b/app/views/browse/_relation_details.html.erb index bb7d45e44..57314817d 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? %> +

<%= t 'browse.redacted.message_html', :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 %> @@ -14,7 +17,7 @@ <% end %> <% unless relation_details.containing_relation_members.empty? %> - +
<%= t'browse.relation_details.part_of' %> @@ -25,3 +28,4 @@ <% end %>
+<% end %>