X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/56db9ca2b7e2475cd8025630049fb4a4b824f2d9..c4090bb150e0eb866151ba0477e50b0421d60527:/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 1c0f4c93c..dcc694c18 100644
--- a/app/views/browse/_relation_details.html.erb
+++ b/app/views/browse/_relation_details.html.erb
@@ -1,23 +1,21 @@
-
-<% 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 %>
+
+ <% if relation_details.redacted? %>
+ <%= t 'browse.redacted.message_html',
+ :type => t('browse.redacted.type.relation'),
+ :version => relation_details.version,
+ :redaction_link => link_to(t('browse.redacted.redaction',
+ :id => relation_details.redaction.id), relation_details.redaction) %><
+ <% else %>
+ <%= render :partial => "common_details", :object => relation_details %>
- <% unless relation_details.relation_members.empty? %>
-
+ <% unless relation_details.relation_members.empty? %>
<%= t'browse.relation_details.members' %>
<%= render :partial => "relation_member", :collection => relation_details.relation_members %>
-
- <% end %>
+ <% end %>
- <% unless relation_details.containing_relation_members.empty? %>
-
+ <% unless relation_details.containing_relation_members.empty? %>
<%= t'browse.relation_details.part_of' %>
<%= render :partial => "containing_relation", :collection => relation_details.containing_relation_members %>
-
+ <% end %>
<% end %>
-<% end %>