Sha256: 5385326c0b058a67e40107c25c1dbaa4c6e6759c51f40bcf2d7a0a15c8a49640

Contents?: true

Size: 1.53 KB

Versions: 3

Compression:

Stored size: 1.53 KB

Contents

<% if document.has_key?(:noid_s) %>
<li>
  <h2>
    <%= link_to render_document_show_field_value(:document=>document, :field=>document.title_or_label), sufia.generic_file_path(document[:noid_s].first) %>
    <small>[<%= link_to 'Download', sufia.download_path(document[:noid_s].first), :target => '_new' %>]</small>
  </h2>
  <table class="table">
    <tr>
      <td rowspan="6" class="span20"> <%= render :partial => 'dashboard/_index_partials/thumbnail_display', :locals => {:document=>document, :height=>200, :width=>150} %>
      </td>
      <th><h4>Title:</h4></th>
      <td><%= render_document_show_field_value(:document=>document, :field=>"desc_metadata__title_display") %></td>
    </tr>
    <tr>
      <th><h4>Depositor:<h4></div>
      <td><%= link_to_profile get_depositor_from_document(document) %></td>
    </tr>
    <tr>
      <th><h4>Creator:</h4></th>
      <td><%= render_document_show_field_value(:document=>document, :field=>"desc_metadata__creator_display") %></td>
    </tr>
    <tr>
      <th><h4>Description:</h4></th>
      <td><%= iconify_auto_link(render_document_show_field_value(:document=>document, :field=>"desc_metadata__description_display")) %></th>
    </tr>
    <tr>
      <th><h4>Keywords:</h4></th>
      <td><%= render_document_show_field_value(:document=>document, :field=>"desc_metadata__tag_display") %></td>
    </tr>
    <tr>
      <th><h4>Date Uploaded:</h4></th>
      <td><%= render_document_show_field_value(:document=>document, :field=>"desc_metadata__date_uploaded_display") %></td>
    </tr>
  </table>
</li>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sufia-0.1.0 app/views/catalog/_index_partials/_list_files.html.erb
sufia-0.0.8 app/views/catalog/_index_partials/_list_files.html.erb
sufia-0.0.7 app/views/catalog/_index_partials/_list_files.html.erb