{% extends "profiles/base-wide.html" %} {% load base_filters %} {% load base_tags %} {% load profile_tags %} {% load styled_forms %} {% block title %}{% trans 'Import Users from CSV file - Preview' %}{% endblock %} {% block extra_head %} {{ block.super }} {% endblock %} {% block content %}

{% trans "Import Users" %}

{% trans "Step 2/3 - Preview" %}

{% if uimport.status == 'preprocess_done' %}

{% trans "You're almost done! Please review your settings. To complete your import, click the button" %} {% trans 'Import Now' %}.

{% endif %}
{% trans "Update" %}: {% if not uimport.override %} {% trans 'Blank Fields' %} {% else %} {% trans 'All Fields (override)' %} {% endif %}
{% trans "Identify Duplicates by" %}: {{ uimport.key }}
{% if uimport.group_id and uimport.group %}
{% trans "Add users to the group" %}: {{ uimport.group }} {% if uimport.clear_group_membership %}
{% trans "Delete members in group before importing" %}: {{ uimport.clear_group_membership }}
{% endif %}
{% endif %}
 
{% trans "Total Rows" %}: {{ total_rows }}
{% if uimport.status == 'preprocess_done' %}
{% csrf_token %}
{% if 'first_name' in fieldnames or 'last_name' in fieldnames %} {% endif %} {% if 'email' in fieldnames %} {% endif %} {% if 'username' in fieldnames %} {% endif %} {% if 'member_number' in fieldnames %} {% endif %} {% for u in users_list %} {% if 'first_name' in fieldnames or 'last_name' in fieldnames %} {% endif %} {% if 'email' in fieldnames %} {% endif %} {% if 'username' in fieldnames %} {% endif %} {% if 'member_number' in fieldnames %} {% endif %} {% endfor %}
{% trans 'Row #' %} {% trans 'Action' %}{% trans 'Name' %}{% trans 'Email' %}{% trans 'Username' %}{% trans 'Member Number' %}{% trans 'Reason if to be skipped' %}
{{ u.row_num }} {{ u.action }} {% if u.user and u.user.username %} {{ u.first_name }} {{ u.last_name }} {% else %} {{ u.first_name }} {{ u.last_name }} {% endif %} {{ u.email }}{{ u.username }}{{ u.member_number }}{% if u.error %}{{ u.error }}{% endif %}
{% if num_pages > 1 %}
{% if prev %} {% trans 'Prev' %} {% else %} {% trans 'Prev' %}} {% endif %} {% for page in page_range %} {% if page == '...' %} {{ page }} {% else %} {% if page == curr_page %} {{ page }} {% else %} {{ page }} {% endif %} {% endif %} {% endfor %} {% if curr_page >= num_pages %} {% trans 'Next' %} {% else %} {% trans 'Next' %} {% endif %}
{% endif %}
{% else %}
{% trans 'loading' %}
{% trans "Please wait while we're processing..." %}
{% endif %}
{% endblock %} {% block extra_body %} {% endblock %}