{% extends "admin/base.html" %} {% macro row_buttons(u, can_delete) %} {% if not u.sysadmin and u.name != me %}
{{ _('Export') }} {% if can_delete %}
{{ h.csrf_input() }}
{% endif %}
{{ h.csrf_input() }}
{% endif %} {% endmacro %} {% block primary_content_inner %}

{{ _('Account requests') }}

{% if admin_networks %}

{{ _('Sysadmin accounts are limited to: %(nets)s (and this machine).', nets=admin_networks|join(', ')) }}

{% endif %} {% if not requests %}

{{ _('No account request is waiting.') }}

{% else %}
{{ h.csrf_input() }} {% for r in requests %} {% endfor %}
{{ _('Username') }}{{ _('Full Name') }}{{ _('Email') }} ORCID{{ _('Message') }}{{ _('Email confirmed') }}
{{ r.user.name }} {{ r.user.fullname }} {{ r.user.email }} {% if r.extras.orcid %}{{ r.extras.orcid }}{% endif %} {{ r.extras.reason }} {% if r.confirmed %}{% else %}{{ _('Waiting') }}{% endif %}
{% endif %}

{{ _('Accounts') }}

{{ _('Delete is a soft deletion: CKAN keeps the account, its name stays reserved and its datasets stay where they are. Erase personal data is for a request of the person (GDPR): the name, full name, email, description, ORCID and message are removed for good; the account keeps its identifier so that datasets and history still point at it. Sysadmin accounts and yours cannot be deleted or erased here.') }}

{{ _('Active accounts') }}

{% for u in users %} {% endfor %}
{{ _('Username') }}{{ _('Full Name') }}{{ _('Email') }}{{ _('Created') }}
{{ u.name }}{% if u.sysadmin %} sysadmin{% endif %} {{ u.fullname }} {{ u.email }} {{ h.render_datetime(u.created, with_hours=False) }} {{ row_buttons(u, true) }}
{% if deleted %}

{{ _('Deleted accounts, personal data still held') }}

{% for u in deleted %} {% endfor %}
{{ _('Username') }}{{ _('Full Name') }}{{ _('Email') }}{{ _('Created') }}
{{ u.name }}{{ u.fullname }}{{ u.email }} {{ h.render_datetime(u.created, with_hours=False) }} {{ row_buttons(u, false) }}
{% endif %} {% endblock %}