{% extends "base.html" %} {% block title %}Spark - {{ user.email }}{% endblock %} {% block content %}

{{ user.email }}

Users
{% include "_page_messages.html" %} {% include "_mailed_link.html" %}
Account
Name{{ user.display_name or "" }}
Status{{ user.status }}
Signs in with{{ "single sign-on only" if user.sign_in_method == "sso_only" else "a password, or single sign-on" }}
Authenticator app{{ "set up" if mfa_enrolled else "not set up" }}
{% for value, label, icon in [("active", "Reactivate", "bi-play-circle"), ("suspended", "Suspend", "bi-pause-circle"), ("deactivated", "Deactivate", "bi-x-octagon")] %} {% if user.status != value and user.status != "invited" %}
{% endif %} {% endfor %}
{% if user.sign_in_method != "sso_only" and user.status == "active" %}
{% endif %}
Roles
{% if assignments %} {% for assignment in assignments %} {% endfor %}
RoleGrantedExpires
{{ assignment.role }} {{ assignment.granted_at.strftime("%Y-%m-%d %H:%M") }} {{ assignment.expires_at.strftime("%Y-%m-%d %H:%M") if assignment.expires_at else "never" }}
{% else %}

No roles.

{% endif %}
{% endblock %} {% block scripts %}{% endblock %}