X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/ac0603d055759a1448a05607e12006c69a39e0d3..ba9456066f74814fe4e8929a4467caa2c5c6ba9f:/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 cfa03678f..6e12f7f65 100644
--- a/app/views/browse/_relation_details.html.erb
+++ b/app/views/browse/_relation_details.html.erb
@@ -1,31 +1,23 @@
+
<% 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 %>
+
+ <%= 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' %> |
-
-
- <%= render :partial => "relation_member", :collection => relation_details.relation_members %>
-
- |
-
+
+
<%= t'browse.relation_details.members' %>
+
<%= render :partial => "relation_member", :collection => relation_details.relation_members %>
+
<% end %>
<% unless relation_details.containing_relation_members.empty? %>
-
- <%= t'browse.relation_details.part_of' %> |
-
-
- <%= render :partial => "containing_relation", :collection => relation_details.containing_relation_members %>
-
- |
-
+
+
<%= t'browse.relation_details.part_of' %>
+
<%= render :partial => "containing_relation", :collection => relation_details.containing_relation_members %>
+
<% end %>
-
-
<% end %>
+