{# The signed-in user's exports. vars: title, items ({job, format, url, fresh, background}), keep_days #} {% extends "tungsten/layout/app.html" %} {% import "tungsten/components/ui.html" as ui %} {% block content %} {% set subheading = __('Files made in the background are kept for :days days. Other exports download again with fresh data.', days=keep_days) %} {% include "tungsten/components/page-header.html" %}
| {{ __('Export') }} | {{ __('Rows') }} | {{ __('Status') }} | {{ __('Date') }} | |
|---|---|---|---|---|
| {{ job.name }} {{ ui.badge(item.format, 'gray') }} | {% if job.status in ('queued', 'running') and job.total %}{{ job.processed }} / {{ job.total }}{% else %}{{ job.processed }}{% endif %} | {% if job.status == 'done' %}{{ ui.badge(__('Ready'), 'success') }} {% elif job.status == 'failed' %}{{ ui.badge(__('Failed'), 'danger') }} {% elif job.status == 'expired' %}{{ ui.badge(__('File removed'), 'gray') }} {% else %}{{ ui.badge(__('Working'), 'warning') }}{% endif %} | {{ job.created_at.strftime('%Y-%m-%d %H:%M') if job.created_at else '' }} | {% if item.url %} {{ __('Download again') if item.fresh else __('Download') }} {% endif %} |