% content_for :status_bar do %>
<%= t(methods[0]) %>
<% if attribute.include?('.') %> <% text = custodian.send(methods[0].to_sym).send(methods[1].to_sym).to_s %> <% else %> <% if attribute == 'legal_status' %> <% text = t(custodian.send(attribute.to_sym).to_s) %> <% else %> <% text = custodian.send(attribute.to_sym).to_s %> <% end %> <% end %> <%= textilize_with_entities(text) %> <% end %> <% end %> <% if custodian.custodian_contacts.present? %> <% contacts = Array.new %><%= t("contacts") %>
<% custodian.custodian_contacts.each do |contact| %> <% contacts.push("#{Custodian.human_attribute_name(contact.contact_type)}: #{contact.contact}") %> <% end %> <%= contacts.join(', ') %><%= Source.human_name({:count => custodian.sources.size}) %>
<% custodian.sources.each do |source| %>
<%= source.short_title %>
<%= formatted_source(source) %>
<%= string %>
<% if attribute.include?('.') %> <% text = creator.send(methods[0].to_sym).send(methods[1].to_sym).to_s %> <% else %> <% if attribute == 'creator_type' %> <% text = t(creator.send(attribute.to_sym).to_s) %> <% else %> <% text = creator.send(attribute.to_sym).to_s %> <% end %> <% end %> <%= textilize_with_entities(text) %> <% end %> <% end %> <% if creator.creator_legal_statuses.present? %><%= t('creator_legal_status')%>
<%= Source.human_name({:count => creator.sources.size}) %>
<% creator.sources.each do |source| %>
<%= source.short_title %>
<%= formatted_source(source) %>
<%= string %>
<% if attribute.include?('.') %> <% text = fond.send(methods[0].to_sym).send(methods[1].to_sym).to_s %> <% else %> <% text = fond.send(attribute.to_sym).to_s %> <% end %> <%= textilize_with_entities(text) %><%= Source.human_name({:count => fond.sources.size}) %>
<% fond.sources.each do |source| %>
<%= source.short_title %>
<%= formatted_source(source) %>
<%= u.display_sequence_number_from_hash(@display_sequence_numbers) %>
<%= t(methods[0])%>
<% if attribute.include?('.') %> <% text = u.send(methods[0].to_sym).send(methods[1].to_sym).to_s %> <% if(methods[0] == 'preferred_event') %> <% text.concat("\n#{u.send(methods[0].to_sym).send('note').to_s}") %> <% end %> <% else %> <% text = u.send(attribute.to_sym).to_s %> <% end %> <%= methods[0] == 'reference_number' ? text : textilize_with_entities(text) %>Lingue della documentazione:
<% u.unit_langs.each do |l| %> <%= show_item(l.code) %>Altre segnature:
<% u.unit_other_reference_numbers.each do |s| %> <%= s.other_reference_number %><%if s.qualifier.present? %> [<%= s.qualifier %>]<% end %> <%if s.note.present? %> {<%= s.note %>}<% end %>Voci di indice:
<% u.headings.each do |h| %> [<%= h.heading_type %>] <%= h.name %><%if h.qualifier.present? %>, <%= h.qualifier %><% end %> <%if h.dates.present? %>(<%= h.dates %>)<% end %>