X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/2e2f2124728ca755b2db8f83f022eaea24b647f0..7c2ca3efb1831647348fc4a83a8aceaa5fc2f356:/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 bb7d45e44..25b5f0fca 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(relation_details.redaction) %>

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