{% extends "zerver/base.html" %} {% set entrypoint = "support" %} {# User activity. #} {% block title %} Support panel | Zulip {% endblock %} {% block content %}

{% if error_message %}
{{ error_message }}
{% elif success_message %}
{{ success_message }}
{% endif %}
{% for user in users %} {% set realm = user.realm %}
user

{{ user.full_name }}

Email: {{ user.delivery_email }}
Date joined: {{ user.date_joined|timesince }} ago
Is active: {{ user.is_active }}
Role: {{ user.get_role_name() }}
{{ csrf_input }}

{% include "analytics/realm_details.html" %}

{% endfor %} {% for realm in realms %}
{% include "analytics/realm_details.html" %}
{% endfor %} {% for confirmation in confirmations %} {% set object = confirmation.object %}
{% if confirmation.type == Confirmation.USER_REGISTRATION %} preregistration user {% set email = object.email %} {% set realm = object.realm %} {% set show_realm_details = True %} {% elif confirmation.type == Confirmation.REALM_CREATION %} preregistration user realm creation {% set email = object.email %} {% set show_realm_details = False %} {% elif confirmation.type == Confirmation.INVITATION %} preregistration user invite {% set email = object.email %} {% set realm = object.realm %} {% set show_realm_details = True %} {% elif confirmation.type == Confirmation.MULTIUSE_INVITE %} multiuse invite {% set realm = object.realm %} {% set show_realm_details = False %} {% elif confirmation.type == Confirmation.REALM_REACTIVATION %} realm reactivation {% set realm = object %} {% set show_realm_details = False %} {% endif %}

{% if email %} Email: {{ email }}
{% endif %} Link: {{ confirmation.url }}
Expires in: {{ confirmation.expires_in }}
{% if confirmation.link_status %} Status: {{ confirmation.link_status }} {% endif %}
{% if show_realm_details %}
{% include "analytics/realm_details.html" %}
{% elif realm %} Realm: {{ realm.string_id }}
{% endif %}

{% endfor %}
{% endblock %}