Sha256: df11d29a46615af037f43b09ceb0760cd107c009ef0221b450bfbb0aaa3f280d
Contents?: true
Size: 1.65 KB
Versions: 34
Compression:
Stored size: 1.65 KB
Contents
<%# copied div below to show_contributor partial %> <div id="contributors_list"> <ol> <%= render :partial=>"contributors/show_person", :collection=>@document_fedora.datastreams["descMetadata"].find_by_terms(:person) %> <%= render :partial=>"contributors/show_organization", :collection=>@document_fedora.datastreams["descMetadata"].find_by_terms(:organization) %> <%= render :partial=>"contributors/show_conference", :collection=>@document_fedora.datastreams["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["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
34 entries across 34 versions & 2 rubygems