{% extends "core/base.html" %}
{% block content %}
  <h1>Your Recent Imports</h1>
  <table class="table">
    <thead>
      <tr><th>#</th><th>Export ID</th><th>Uploaded</th><th>Status</th><th>Error</th></tr>
    </thead>
    <tbody>
    {% for b in batches %}
      <tr>
        <td>{{ b.id }}</td>
        <td>{{ b.export_id }}</td>
        <td>{{ b.imported_at }}</td>
        <td>{{ b.status }}</td>
        <td>{{ b.error or "" }}</td>
      </tr>
    {% endfor %}
    </tbody>
  </table>
{% endblock %}
