{% load i18n capture_as email_bodies static %}
{{ export.get_file_format_display }}
{{ export.file_format }}
{{ export.status }} at {% firstof export.finished_at|date:"Y-m-d H:i:s" export.updated_at|date:"Y-m-d H:i:s" %}
{% if export.output_file.file %}
{{ export.output_file.file.size|filesizeformat }}

{% capture_as subject %}Download {{ export.get_file_format_display }} map data of {{ export.extraction_order.excerpt.name }}{% end_capture_as %} {% capture_as body %}{% email_body_with_single_result_link export.output_file %}{% end_capture_as %} Send Link as Email

{% elif export.status == export.FINISHED %}

{% url 'excerptexport:order_existing_excerpt' as order_existing_url %} {% blocktrans %}This file has been removed from the server. Please request it again.{% endblocktrans %}

{% endif %}