Sha256: 2c494f6ce3947df7dbf2494d5115c783700f5e3d467e7a58b566f611f168898a

Contents?: true

Size: 1.09 KB

Versions: 1

Compression:

Stored size: 1.09 KB

Contents

<table class="table table-zebra-striped">
  <caption class="sr-only">Listing of items you have deposited in <%= t('sufia.product_name') %></caption>
<% unless params[:display_type] == 'list' %>
  <thead>
  <tr>
    <th><%= render_check_all %></th>
    <th>Title</th>
    <th class="sorts-dash"><i id="desc_metadata__date_uploaded_dtsi" class="<%=params[:sort]== "desc_metadata__date_uploaded_dtsi desc" ? 'caret' : params[:sort]== "desc_metadata__date_uploaded_dtsi asc" ? 'caret up' : ''%>"></i>Date Uploaded</th>
    <th>Visibility</th>
    <th>Action</th>
  </tr>
  </thead>
  <% end %>
  <tbody>
  <% docs.each_with_index do |document,counter| %>
    <% case document.hydra_model %>
    <% when "GenericFile" %>
      <%= render partial: 'my/_index_partials/list_files', locals: {document: document, counter: counter} %>
    <% when "Collection" %>
      <%= render partial: 'my/_index_partials/list_collections', locals: {document: document, counter: counter} %>
    <% else %>
      <tr><td colspan='6'><%= document.hydra_model %> : <%= document.id %></td></tr>
    <% end %>
  <% end %>
  </tbody>
</table>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sufia-4.0.0.rc2 app/views/my/_index_partials/_default_group.html.erb