1 <% if relation.redacted? %>
2 <div class='browse-section browse-redacted'>
3 <%= t 'browse.redacted.message_html',
4 :type => t('browse.redacted.type.relation'),
5 :version => relation.version,
6 :redaction_link => link_to(t('browse.redacted.redaction',
7 :id => relation.redaction.id), relation.redaction) %>
10 <div class='browse-section browse-relation'>
11 <%= render :partial => "common_details", :object => relation %>
13 <% unless relation.relation_members.empty? %>
14 <h4><%= t'browse.relation.members' %></h4>
15 <ul><%= render :partial => "relation_member", :collection => relation.relation_members %></ul>
18 <% unless relation.containing_relation_members.empty? %>
19 <h4><%= t'browse.part_of' %></h4>
20 <ul><%= render :partial => "containing_relation", :collection => relation.containing_relation_members %></ul>