{% extends "users/user_base.html" %} {% load i18n %} {% block content %}

{% trans "Mass Delete Users" %}

{% if not preview_mode %}

{% trans "Paste a list of UIDs (one per line) or upload a CSV file containing UIDs in the first column." %}

{% csrf_token %}
{{ form.uids_text }}

{% trans "Cancel" %}
{% else %}

{% trans "Users found and ready to be deleted" %}

{% for u in found_users %} {% endfor %}
UID {% trans "Full Name" %}
{{ u.uid }} {{ u.gecos }}
{% if not_found_uids %}

{% trans "UIDs not found (will be ignored):" %}

    {% for u in not_found_uids %}
  • {{ u }}
  • {% endfor %}
{% endif %}

{% trans "Final Confirmation" %}

{% csrf_token %}

{% if not found_users %}
{% trans "No valid UIDs found to delete." %}
{% endif %} {% trans "Cancel" %}
{% endif %} {% endblock %}