Sha256: 626e0451a31f3deb60a2d8fbb6f3c8208ef7bfd47bc844547faf52ddbfc2f2a7

Contents?: true

Size: 1.73 KB

Versions: 5

Compression:

Stored size: 1.73 KB

Contents

  <div id="contributor_fields">
    <h3>Contributors</h3>
    <ol> 
      <%= render :partial=>"contributors/show_person", :collection=>@document_fedora.datastreams_in_memory["descMetadata"].find_by_terms(:person) %>
      <%= render :partial=>"contributors/show_organization", :collection=>@document_fedora.datastreams_in_memory["descMetadata"].find_by_terms(:organization) %>
      <%= render :partial=>"contributors/show_conference", :collection=>@document_fedora.datastreams_in_memory["descMetadata"].find_by_terms(:conference) %>
    </ol>    
  </div>

	<%= render :partial => "#{content_type}s/show_content" %>

  <dl id="metadata_view">	
  <% unless get_values_from_datastream(@document_fedora,"descMetadata", [:title_info, :main_title]).first.empty? %>
    <dt>Title</dt>
    <dd class="title">
      <%= get_values_from_datastream(@document_fedora,"descMetadata", [:title_info, :main_title]) %>
    </dd>
  <% end %>

  <% unless get_values_from_datastream(@document_fedora,"descMetadata", [:title_info, :language]).first.empty? %>
    <dt>Language</dt>
    <dd class="language">
      <%= get_values_from_datastream(@document_fedora,"descMetadata", [:title_info, :language]) %>
    </dd>
  <% end %>
  
  <% unless get_values_from_datastream(@document_fedora,"descMetadata", [:abstract]).first.empty? %>
    <dt>Abstract</dt>
    <dd id="abstract">
      <%= get_values_from_datastream(@document_fedora,"descMetadata", [:abstract]) %>
    </dd>
  <% end %>

  <% unless get_values_from_datastream(@document_fedora,"descMetadata", [:subject, :topic]).first.empty? %>
    <dt>Topic(s)</dt>
    <dd id="topic_tag" class="topic_tag">
      <%= get_values_from_datastream(@document_fedora,"descMetadata", [:subject, :topic]) %>
    </dd>
  <% end %>

</dl>

</form>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
hydra-head-3.0.1 app/views/generic_content_objects/_show_description.html.erb
hydra-head-3.0.0 app/views/generic_content_objects/_show_description.html.erb
hydra-head-3.0.0.rc2 app/views/generic_content_objects/_show_description.html.erb
hydra-head-3.0.0.rc1 app/views/generic_content_objects/_show_description.html.erb
hydra-head-3.0.0pre4 app/views/generic_content_objects/_show_description.html.erb