{% extends "full_layout.html" %} {% import "macros/fields.html" as fields %} {% import "macros/status.html" as status_macros %} {% block title %}{{ account.name }}{% endblock %} {% block subnav_header %} {% include "dna_accounts/components/account_details_subnav.html" %} {% endblock %} {% block subnav_items %}
Details
Products
{% endblock %} {% block content %}

User Details
{% if account.status == DNAAccountStatuses.SUSPENDED %} Suspended on {{ account.expiration_date|strftime("%m/%d/%y") }} {% if account.updated_at.date() < account.expiration_date %} (Account Expired) {% endif %} {% else %} {% endif %}

{% if account.is_external and account.status in (DNAAccountStatuses.PENDING, DNAAccountStatuses.INVITED) %}
{% endif %} {% if account.status in (DNAAccountStatuses.ACTIVE, DNAAccountStatuses.PENDING, DNAAccountStatuses.INVITED) %} Edit {% elif account.status == DNAAccountStatuses.SUSPENDED %} Reactivate {% endif %}
{{ account.given_name|default("N/A", True) }}
{{ account.family_name|default("N/A", True) }}
{{ account.email|default("N/A", True) }}
{{ account.sub|default("N/A", True) }}
{{ account.job_title|default("N/A", True) }}
{{ account.job_category|default("N/A", True) }}
{% if account.is_sony_employee %}
{{ account.business_unit|default("N/A", True) }}
{{ account.location|default("N/A", True) }}
{{ account.personnel_type|default("N/A", True) }}
{{ account.preferred_username|default("N/A", True) }}
{% endif %}
{{ account.expiration_date|strftime("%m/%d/%y")|default("N/A", True) }}
{% if account.is_sony_employee %}
{{ account.supervisor_email|default("N/A", True) }}
{{ account.supervisor_name|default("N/A", True) }}
{% endif %}
{% for tag in account.tags %} {{ tag.name }}{% if not loop.last %}, {% endif %} {% endfor %}
{{ fields.local_date_info_field(account.created_at, "Created", "account-detail-created") }} {{ fields.local_date_info_field(account.updated_at, "Last modified", "account-detail-last-modified") }}
{% if account.usm_account %}
Connected to USM
{% endif %}
{% endblock %}