Sha256: 43e1b9fe94886f08c9c902d6bfb68b2357c1f963284ceb6801d6f3aee4d3ff40

Contents?: true

Size: 1.01 KB

Versions: 2

Compression:

Stored size: 1.01 KB

Contents

<div class="pre-ingest-file-table">
  <a class="btn btn-primary" data-toggle="collapse" href="#files-table-<%= pre_ingest_work.id %>" role="button" aria-expanded="false" aria-controls="files-table-<%= pre_ingest_work.id %>">
    View Files
  </a>
  <table id="files-table-<%= pre_ingest_work.id %>" class="responsive collapse nowrap table table-striped works-list">
    <tr>
      <th>Filename</th>
      <th>Size</th>
      <th>Row Number</th>
      <th>Date Created</th>
      <th>Status</th>
    </tr>
    <% pre_ingest_work.pre_ingest_files.each do |pre_ingest_file| %>
      <tr>
        <td>
          <%= pre_ingest_file.basename %>
        </td>
        <td>
          <%= number_to_human_size(pre_ingest_file.size) %>
        </td>
        <td>
          <%= pre_ingest_file.row_number %>
        </td>
        <td>
          <%= pre_ingest_file.created_at.strftime("%B %-d, %Y %H:%M") %>
        </td>
        <td>
          <%= status_icon(pre_ingest_file.status) %>
        </td>
      </tr>
    <% end %>
  </table>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
zizia-6.0.1 app/views/zizia/csv_import_details/_pre_ingest_files_table.html.erb
zizia-6.0.0 app/views/zizia/csv_import_details/_pre_ingest_files_table.html.erb