Sha256: 69c6c26e88978c9e1c23919fe4c79d30e1d8b77a38873638dfd97a71a921046c

Contents?: true

Size: 1.32 KB

Versions: 9

Compression:

Stored size: 1.32 KB

Contents

<div class="document_viewer" id="cover_container">

	<h1 class="document-heading">
		<% unless get_values_from_datastream(@document_fedora,"descMetadata", [:title_info, :main_title]).first.empty? %>
	      <%= get_values_from_datastream(@document_fedora,"descMetadata", [:title_info, :main_title]).first %>
		<% else %>
			<%= params[:id] %>
		 <% end %>
	</h1>

  <h2 class="section-title">Description</h2>
  <div class="description">
    <%= render :partial => 'mods_assets/show_description' %>
  </div>
  <%# copied to show_file_assets %>
	<% unless @document_fedora.file_objects(:response_format=>:solr).empty? %>
    <h2 class="section-title">Files</h2>
    <div class="uploads" id="uploads_<%= format_pid(params[:id]) %>">	
      <table id="file_assets" class="multipleEdit">
		    <tr>
		      <th>File Name</th>
		      <th>Size</th>
		      <th>Uploaded</th>
		    </tr>
			<% @document_fedora.file_objects(:response_format=>:solr).each do |result| %>
  			<tr class="file_asset" >
  			  <td><%= link_to result[solr_name("title", :text)], hydra_file_asset_path(result["id"]) %></td>
  			  <td><%= result[solr_name("extent", :text)] %></td>
  			  <td>
  			    <% dt = DateTime.parse(result[ solr_name("system_create", :date)] ) -%>
  			    <%= format_date dt %>
  			  </td>
  			</tr>
			<% end %>		
		  </table>
  	</div>
	<% end %>

</div>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
hydra-head-4.0.3 app/views/mods_assets/_show.html.erb
hydra-head-4.0.2 app/views/mods_assets/_show.html.erb
hydra-head-4.0.1 app/views/mods_assets/_show.html.erb
hydra-head-4.0.0 app/views/mods_assets/_show.html.erb
hydra-head-4.0.0.rc6 app/views/mods_assets/_show.html.erb
hydra-head-4.0.0.rc5 app/views/mods_assets/_show.html.erb
hydra-head-4.0.0.rc4 app/views/mods_assets/_show.html.erb
hydra-head-4.0.0.rc3 app/views/mods_assets/_show.html.erb
hydra-head-4.0.0.rc2 app/views/mods_assets/_show.html.erb