{% load i18n inline_formset %}

{{page_name}}

{% if not object_list %}

{% trans "No pending imports." %}

{% else %} {% for import in object_list %} {% if import.state == 'IP' and import.current_line %} {% endif %} {% endfor %}
{% trans "Name" %} {% trans "Type" %} {% trans "File" context "file" %} {% trans "Creation" %} {% trans "Status" %} {% trans "Action" %} {% trans "Unmatched items" %} {% trans "Error" %} {% trans "Control" %} {% trans "Match" %}
{{import.name|default:"-"}} {{import.importer_type}} {% trans "Source file" %} {{import.creation_date}} ({{import.user}}) {{import.status}} {% if import.need_matching %} {% trans "Match"%} {% endif %} {% if import.error_file %} {% trans "File" context "not a directory" %} {% endif %} {% if import.result_file %} {% trans "File" context "not a directory" %} {% endif %} {% if import.match_file %} {% trans "File" context "not a directory" %} {% endif %}
{{import.current_line}} / {{import.number_of_line}}
{% endif %}