Sha256: c7cb3db04dbf2a59b655494c3751c52aedcfc45509aee1395eb082a3a1c3eebc

Contents?: true

Size: 1.69 KB

Versions: 5

Compression:

Stored size: 1.69 KB

Contents

<%# copied div below to show_contributor partial %>
<div id="contributors_list">
<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>

<%# copied fieldset to show_publication partial %>
<% unless get_values_from_datastream(@document_fedora,"descMetadata", [{:journal => 0}, :title_info, :main_title]).first.empty? %>
	<fieldset><legend>Published</legend>
	<div id="journal" class="browse_value">
	<%= render :partial=>"mods_assets/show_journal", :collection=>@document_fedora.datastreams_in_memory["descMetadata"].find_by_terms(:journal) %>
	</div>
	</fieldset>
	<% end %>

<%# copied fieldsets to show_additional_info partial %>
<% unless get_values_from_datastream(@document_fedora,"descMetadata", [:subject, :topic]).first.empty? %>
<fieldset><legend>Keywords</legend>
	<div class="browse_value">
	<%= get_values_from_datastream(@document_fedora,"descMetadata", [:subject, :topic]).join(', ') %>
	</div>
</fieldset>
<% end %>

<% unless get_values_from_datastream(@document_fedora,"descMetadata", [:abstract]).first.empty? %>
<fieldset><legend>Abstract</legend>
<div id="abstract" class="browse_value">
	<%= Sanitize.clean( RedCloth.new(get_values_from_datastream(@document_fedora,"descMetadata", [:abstract]).first, [:sanitize_html]).to_html, Sanitize::Config::BASIC).html_safe %>
</div>
</fieldset>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

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