{% 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 %}
{% if not user.is_active %} {% set user_information_class = "user-information-section user-deactivated" %} {% else %} {% set user_information_class = "user-information-section" %} {% endif %}
Cloud {% if user.is_bot%}bot{% else %}user{% endif %} {% if not user.is_active %} DEACTIVATED {% endif %}

{{ user.full_name }}

Email: {{ user.delivery_email }}
Date joined: {{ user.date_joined|timesince }} ago
Role: {{ user.get_role_name() }}
{% if user.is_bot and user.bot_owner %} Bot owner: {{ user.bot_owner.delivery_email }}
{% endif %}
{{ csrf_input }}
{% if realm.deactivated %} {% set user_realm_information_class = "user-realm-information-section realm-deactivated" %} {% else %} {% set user_realm_information_class = "user-realm-information-section" %} {% endif %}
{% with %} {% set dollar_amount = dollar_amount %} {% include "corporate/support/realm_details.html" %} {% endwith %}
{% endfor %} {% for realm in realms %} {% if realm.deactivated %} {% set realm_query_result_class = "support-query-result realm-deactivated" %} {% else %} {% set realm_query_result_class = "support-query-result" %} {% endif %}
{% with %} {% set dollar_amount = dollar_amount %} {% include "corporate/support/realm_details.html" %} {% endwith %}
{% endfor %} {% for confirmation in confirmations %} {% set object = confirmation.object %}
Cloud confirmation {% if confirmation.type == Confirmation.USER_REGISTRATION %}

Pre-registration user

{% set email = object.email %} {% set realm = object.realm %} {% set show_realm_details = True %} {% elif confirmation.type == Confirmation.NEW_REALM_USER_REGISTRATION %}

Realm creation

{% set email = object.email %} {% set show_realm_details = False %} {% elif confirmation.type == Confirmation.INVITATION %}

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.realm %} {% 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 %} {% with %} {% set dollar_amount = dollar_amount %} {% include "corporate/support/realm_details.html" %} {% endwith %} {% elif realm %} Cloud realm

{{ realm.name }}

Realm subdomain: {{ realm.subdomain }} {% else %} Cloud realm

N/A

{% endif %}
{% endfor %}
{% endblock %}