Sha256: bc39087b52d084e8dfb21a45a59781ee9c3a87a35926ad324d43a00aff05b11d

Contents?: true

Size: 1.58 KB

Versions: 2

Compression:

Stored size: 1.58 KB

Contents

<% if document.has_key?(:noid_s) %>
<%# logger.info document[:generic_file__creator_t].inspect %>
<li>
  <h2>
    <%= link_to render_document_show_field_value(:document=>document, :field=>document.title_or_label), generic_file_path(document[:noid_s].first) %>
    <small>[<%= link_to 'Download', 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=>"generic_file__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=>"generic_file__creator_display") %></td>
    </tr>
    <tr>
      <th><h4>Description:</h4></th>
      <td><%= iconify_auto_link(render_document_show_field_value(:document=>document, :field=>"generic_file__description_display")) %></th>
    </tr>
    <tr>
      <th><h4>Keywords:</h4></th>
      <td><%= render_document_show_field_value(:document=>document, :field=>"generic_file__tag_display") %></td>
    </tr>
    <tr>
      <th><h4>Date Uploaded:</h4></th>
      <td><%= render_document_show_field_value(:document=>document, :field=>"generic_file__date_uploaded_display") %></td>
    </tr>
  </table>
</li>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sufia-0.0.1.pre2 app/views/catalog/_index_partials/_list_files.html.erb
sufia-0.0.1.pre1 app/views/catalog/_index_partials/_list_files.html.erb