Sha256: c2da21bad3f59e0fb3dbd486552a1543990c95f0e556828a32284d175b630ef8

Contents?: true

Size: 1.72 KB

Versions: 41

Compression:

Stored size: 1.72 KB

Contents

<% person = show_person %>
<% person_counter = show_person_counter %>
<% person_name = "#{get_values_from_datastream(@document_fedora,'descMetadata', [{:person=>person_counter}, :first_name])} #{get_values_from_datastream(@document_fedora,'descMetadata', [{:person=>person_counter}, :last_name])}" %>
<% base_id = "person_#{person_counter}" %>
<% unless ( get_values_from_datastream(@document_fedora,"descMetadata", [{:person=>person_counter}, :last_name]).first.empty? || get_values_from_datastream(@document_fedora,"descMetadata", [{:person=>person_counter}, :first_name]).first.empty? ) %>
  <li id="person_<%= person_counter %>">
	  <% unless get_values_from_datastream(@document_fedora,"descMetadata", [{:person=>person_counter}, :role]).first.strip.empty? %>
          <span class="contributor_role"><%= get_values_from_datastream(@document_fedora,"descMetadata", [{:person=>person_counter}, :role, :text]) %></span>
      <% end %>
      <% unless get_values_from_datastream(@document_fedora,"descMetadata", [{:person=>person_counter}, :first_name]).first.empty? %>
          <%= get_values_from_datastream(@document_fedora,"descMetadata", [{:person=>person_counter}, :first_name]).first.strip %>
      <% end %>
      <% unless get_values_from_datastream(@document_fedora,"descMetadata", [{:person=>person_counter}, :last_name]).first.empty? %>
          <%= get_values_from_datastream(@document_fedora,"descMetadata", [{:person=>person_counter}, :last_name]).first.strip %><% end %><% unless get_values_from_datastream(@document_fedora,"descMetadata", [{:person=>person_counter}, :institution]).first.empty? %>, <%= get_values_from_datastream(@document_fedora,"descMetadata", [{:person=>person_counter}, :institution]) %>
      <% end %>
  </li>
<% end %>

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
hydra-head-4.1.3 app/views/contributors/_show_person.html.erb
hydra-head-4.1.2 app/views/contributors/_show_person.html.erb
hydra-head-4.1.1 app/views/contributors/_show_person.html.erb
hydra-head-4.1.0 app/views/contributors/_show_person.html.erb
hydra-head-4.0.3 app/views/contributors/_show_person.html.erb
hydra-head-4.0.2 app/views/contributors/_show_person.html.erb
hydra-head-4.0.1 app/views/contributors/_show_person.html.erb
hydra-head-4.0.0 app/views/contributors/_show_person.html.erb
hydra-head-4.0.0.rc6 app/views/contributors/_show_person.html.erb
hydra-head-4.0.0.rc5 app/views/contributors/_show_person.html.erb
hydra-head-4.0.0.rc4 app/views/contributors/_show_person.html.erb
hydra-head-4.0.0.rc3 app/views/contributors/_show_person.html.erb
hydra-head-4.0.0.rc2 app/views/contributors/_show_person.html.erb
hydra-head-3.3.0 app/views/contributors/_show_person.html.erb
hydra-head-3.2.2 app/views/contributors/_show_person.html.erb
hydra-head-3.2.1 app/views/contributors/_show_person.html.erb
hydra-head-3.2.0 app/views/contributors/_show_person.html.erb
hydra-head-3.2.0.pre3 app/views/contributors/_show_person.html.erb
hydra-head-3.2.0.pre2 app/views/contributors/_show_person.html.erb
hydra-head-3.2.0.pre1 app/views/contributors/_show_person.html.erb