X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/d36fab2913d10bef4eae2cee7c34875f20311af9..d492628f3eb4f540438f9aab8b3c02e12b87d243:/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 e52c9981f..1c0f4c93c 100644 --- a/app/views/browse/_relation_details.html.erb +++ b/app/views/browse/_relation_details.html.erb @@ -1,27 +1,23 @@ - - +
+<% 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 %> <% unless relation_details.relation_members.empty? %> -
- - - +
+

<%= t'browse.relation_details.members' %>

+ +
<% end %> <% unless relation_details.containing_relation_members.empty? %> - - - - +
+

<%= t'browse.relation_details.part_of' %>

+ +
<% end %> - -
<%= t'browse.relation_details.members' %> - - <%= render :partial => "relation_member", :collection => relation_details.relation_members %> -
-
<%= t'browse.relation_details.part_of' %> - - <%= render :partial => "containing_relation", :collection => relation_details.containing_relation_members %> -
-
+<% end %> +