{% extends base_template %} {% load i18n static humanize flat_file_exporter_tags %} {% block extra_styles %} {% endblock %} {% block content %}

{% trans 'Exports inbox' %}

{% trans "Active filters:" %}
{% trans "No active filters" %}
{% trans "Clear all" %}
{% if exported_files %}
{% if page_obj %}
{% blocktrans with start=page_obj.start_index end=page_obj.end_index total=page_obj.paginator.count %}Showing {{ start }} to {{ end }} of {{ total }} records{% endblocktrans %}
    {% for page_number in page_obj.paginator.page_range %} {% if page_number >= page_obj.number|add:'-2' and page_number <= page_obj.number|add:'2' %}
  • {% if page_number == page_obj.number %} {{ page_number }} {% else %} {{ page_number }} {% endif %}
  • {% endif %} {% endfor %}
{% endif %}
{% endif %}
{% for exported_file in exported_files %}
{{ exported_file.name|truncatewords:5 }}
{% trans "Status" %}

{{ exported_file.get_status_display }}

{% trans "Requested at" %}

{{ exported_file.requested_at|naturaltime }}

{% trans "Kind" %}

{{ exported_file.kind }}

{% if exported_file.generation_started_at %}
{% trans "Generation started" %}

{{ exported_file.generation_started_at|naturaltime }}

{% endif %} {% if exported_file.generation_finished_at %}
{% trans "Generation finished" %}

{{ exported_file.generation_finished_at|naturaltime }}

{% endif %} {% if exported_file.failed_at %}
{% trans "Failed at" %}

{{ exported_file.failed_at|naturaltime }}

{% endif %} {% if exported_file.trashed_at %}
{% trans "Trashed at" %}

{{ exported_file.trashed_at|naturaltime }}

{% endif %} {% if exported_file.processing_time %}
{% trans "Processing time" %}

{{ exported_file.processing_time|format_duration }}

{% endif %} {% if exported_file.upload_time %}
{% trans "Upload time" %}

{{ exported_file.upload_time|format_duration }}

{% endif %}
{% trans "Size" %}

{{ exported_file.size|filesizeformat }}

{% if exported_file.stakeholders.exists %}
{% trans "Stakeholders" %}

{{ exported_file.stakeholders.count }}

{% endif %} {% if user.is_superuser %}
Task ID

{{ exported_file.task_id|default:"N/A" }}

{% trans "Failure cause" %}

{{ exported_file.failure_cause|default:"N/A" }}

{% trans "Failure stack" %}

{{ exported_file.failure_stack|default:"N/A" }}

{% endif %}
{% empty %}
{% trans "No exports found" %}

{% trans "There are no exports to show right now." %}

{% endfor %}
{% endblock content %} {% block bottom_scripts %} {{ block.super }} {% endblock %}