Sha256: 9d5ff5046b6475cd162699a521d6ff8160939921fc1bbc688f8e4a6eecccb65d

Contents?: true

Size: 1.28 KB

Versions: 5

Compression:

Stored size: 1.28 KB

Contents

<h3>CSV Imports</h3>
<%= render 'toggle_my_imports' %>
<table class="table table-striped">
  <tr>
    <th><%= sortable 'id', 'ID' %></th>
    <th>Associated User</th>
    <th><%= sortable 'created_at', 'Date' %></th>
    <th>CSV File</th>
    <th>Number of Works</th>
    <th>Number of Files</th>
    <th>Total Size</th>
    <th>Status</th>
    <th>Overwrite Behavior Type</th>
  </tr>
  <% @csv_import_details.each do |csv_import_detail| %>
    <tr>
      <td>
        <%= link_to csv_import_detail.id, url_for(csv_import_detail) %>
      </td>
      <td>
        <%= User.find(csv_import_detail.csv_import.user_id).email %>
      </td>
      <td>
        <%= csv_import_detail.created_at.strftime("%B %-d, %Y %H:%M") %>
      </td>
      <td>
        <%= File.basename(csv_import_detail.csv_import.manifest.to_s) %>
      </td>
      <td>
        <%= csv_import_detail.pre_ingest_works.count  %>
      </td>
      <td>
        <%= csv_import_detail.pre_ingest_files.count  %>
      </td>
      <td>
        <%= number_to_human_size(csv_import_detail.total_size) %>
      </td>
      <td>
        <%= csv_import_detail.status %>
      </td>
      <td>
        <%= human_update_actor_stack(csv_import_detail.update_actor_stack) %>
      </td>
    </tr>
  <% end %>
</table>
<%= paginate @csv_import_details %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
zizia-6.0.1 app/views/zizia/csv_import_details/index.html.erb
zizia-6.0.0 app/views/zizia/csv_import_details/index.html.erb
zizia-5.3.0 app/views/zizia/csv_import_details/index.html.erb
zizia-5.2.0 app/views/zizia/csv_import_details/index.html.erb
zizia-5.1.0 app/views/zizia/csv_import_details/index.html.erb