<%= tag.div :class => ["mb-3 border-bottom border-secondary-subtle pb-3", { "text-body-secondary" => relation.redacted? && params[:show_redactions] }] do %> <% if relation.redacted? && !params[:show_redactions] %> <%= t "browse.redacted.message_html", :type => t("browse.redacted.type.relation"), :version => relation.version, :redaction_link => link_to(t("browse.redacted.redaction", :id => relation.redaction.id), relation.redaction) %> <% else %> <%= render :partial => "browse/common_details", :object => relation %> <% unless relation.containing_relation_members.empty? %>

<%= t "browse.part_of" %>

> <%= t "browse.part_of_relations", :count => relation.containing_relation_members.uniq.count %>
<% end %> <% unless relation.relation_members.empty? %>

<%= t ".members" %>

> <%= t ".members_count", :count => relation.relation_members.count %> <% if relation.relation_members.count >= 10 %> <% path_params = [relation.relation_id, relation.version] %> <% path_params << { :show_redactions => params[:show_redactions] } if params[:show_redactions] %> src="<%= old_relation_members_path(*path_params) %>"> <% else %> src="<%= relation_members_path(relation) %>"> <% end %>
Loading...
<% else %> <% end %>
<% end %> <% end %> <% end %>