Sha256: 84bafc4977ad8b93a9fca664edb0688847281a0c5948f36c33470ca106adf41b
Contents?: true
Size: 1.34 KB
Versions: 25
Compression:
Stored size: 1.34 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)] ) -%> <%= l dt, :format => :hydra %> </td> </tr> <% end %> </table> </div> <% end %> </div>
Version data entries
25 entries across 25 versions & 2 rubygems