{% extends "authentic2/manager/base.html" %} {% load i18n gadjo static %} {% block page-title %}{% trans "Import Users" %} | {{ block.super }}{% endblock %} {% block css %} {{ block.super }} {% endblock %} {% block page_title %}{{ report_title }} - {{ report.created }} - {{ report.state_display }}{% endblock %} {% block breadcrumb %} {{ block.super }}
  • {% trans 'Users' %}
  • {% trans 'Imports' %}
  • {% trans "Users Import" %} {{ user_import.created }}
  • {{ report_title }} {{ report.created }}
  • {% endblock %} {% block sidebar %} {% endblock %} {% block main %} {% if report.exception %}

    {% trans "Exception:" %} {{ report.exception}}

    {% endif %} {% if report.importer %} {% with importer=report.importer %} {% if importer.errors %}

    {% trans "Errors" %}

    {% endif %}

    {% trans "Abstract" %}

    {% trans "Details" %}

    {% if importer.rows %} {% for header in importer.headers %} {% endfor %} {% for row in importer.rows %} {% for cell in row %} {% endfor %} {% if not row.is_valid %} {% if row.errors %} {% endif %} {% if row.has_cell_errors %} {% for cell in row %} {% if cell.errors %} {% else %} {% endif %} {% endif %} {% endfor %}
    {% trans "Line" %} {{ header.name }} {% if header.flags %}
    {% endif %} {% for flag in header.flags %} {% endfor %}
    {% trans "Action" %}
    {{ row.line }}{{ cell.value|default_if_none:"-" }}{% firstof row.action_display "-" %}
      {% for error in row.errors %}
    • {% firstof error.description error.code %}
    • {% endfor %}
      {% for error in cell.errors %}
    • {% firstof error.description error.code %}
    • {% endfor %}
    {% endif %} {% endfor %}
    {% else %}

    {% trans "No row analysed." %}

    {% endif %} {% endwith %} {% endif %} {% endblock %}