{% extends 'intranet/index-2.html' %} {% load i18n %} {% load url from future %} {% block content %} {% if exist_field_errors %} {% if general_errors %}

{% trans 'Warnings:' %}
{% for general_error in general_errors %} {{ general_error|safe }}
{% endfor %}

{% endif %}

{% trans 'Some entries were omitted because they did not meet constraints on some fields.' %}
{% blocktrans %}There remain {{ nb_forms_to_edit }} to edit.{% endblocktrans %}
{% trans 'You can edit them one by one here:' %}

{% if particular_error %}
{{ particular_error|safe }}
{% endif %}
{% csrf_token %} {{ form_to_edit }}
{% trans 'Cancel all the rest' %} {% trans 'Skip this one' %}
{% else %} {% if general_errors %}

{% trans 'Warnings:' %}
{% for general_error in general_errors %} {{ general_error|safe }}
{% endfor %}

{% else %}

{% trans 'Your data were successfully imported.' %}

{% endif %}

{% blocktrans %}There were {{ nb_auto_inserted }} prospect(s) automatically imported, {{ nb_edited }} prospect(s) inserted after edition, and {{ nb_cancelled }} cancelled insertion(s).{% endblocktrans %}
{% if nb_ignored %} {% blocktrans %}{{ nb_ignored }} prospect(s) were detected as duplicates and ignored.{% endblocktrans %}
{% endif %} {% trans 'OK' %}

{% endif %} {% endblock %}