{% extends "base.html" %} {% load i18n %} {% load display_tags %} {% load authorization_tags %} {% block content %} {{ block.super }}

{% blocktrans with full_name=user.get_full_name %}User: {{ full_name }}{% endblocktrans %}

{% trans "Default Information" %}

{% trans "First Name" %} {{ user.first_name }}
{% trans "Last Name" %} {{ user.last_name }}
{% trans "Username" %} {{ user.username }}
{% trans "Email" %} {{ user.email }}

{% trans "Contact Information" %}

{% trans "Title" %} {% if user.usercontactinfo.title %} {{ user.usercontactinfo.title }} {% endif %}
{% trans "Phone Number" %} {{ user.usercontactinfo.phone_number }}
{% trans "Cell Number" %} {{ user.usercontactinfo.cell_number }}
{% trans "Twitter Username" %} {% if user.usercontactinfo.twitter_username %} {{ user.usercontactinfo.twitter_username }} {% endif %}
{% trans "Github Username" %} {% if user.usercontactinfo.github_username %} {{ user.usercontactinfo.github_username }} {% endif %}
{% trans "Slack Email Address" %} {% if user.usercontactinfo.slack_username %} {{ user.usercontactinfo.slack_username }} {%endif %}
{% block user_product_types_panel %}

{{ labels.ORG_USERS_LABEL }}

{% if request.user.is_staff %} {% endif %}
{% if accessible_product_types %}
{% if request.user.is_staff %}{% endif %} {% for pt in accessible_product_types %} {% if request.user.is_staff %} {% endif %} {% endfor %}
{{ labels.ORG_LABEL }}
{{ pt.name }}
{% else %}
{{ labels.ORG_USERS_NO_ACCESS_MESSAGE }}
{% endif %}
{% endblock user_product_types_panel %} {% block user_products_panel %}

{{ labels.ASSET_USERS_ACCESS_LABEL }}

{% if request.user.is_staff %} {% endif %}
{% if accessible_products %}
{% if request.user.is_staff %}{% endif %} {% for p in accessible_products %} {% if request.user.is_staff %} {% endif %} {% endfor %}
{{ labels.ASSET_LABEL }}
{{ p.name }}
{% else %}
{{ labels.ASSET_USERS_NO_ACCESS_MESSAGE }}
{% endif %}
{% endblock user_products_panel %}

{% trans "Metadata" %}

{% trans "Active" %} {% if user.is_active %} {% else %} {% endif %}
{% trans "Superuser" %} {% if user.is_superuser %} {% else %} {% endif %}
{% trans "Staff" %} {% if user.is_staff %} {% else %} {% endif %}
{% trans "Block execution" %} {% if user.usercontactinfo.block_execution %} {% else %} {% endif %}
{% trans "Deduplication execution mode" %} {{ user.usercontactinfo.get_deduplication_execution_mode_display|default:_("Async (do not wait)") }}
{% trans "Date Joined" %} {{ user.date_joined }}
{% trans "Last Login" %} {% if user.last_login %} {{ user.last_login }} {% else %} {% trans "Never" %} {% endif %}
{% trans "Token Last Reset" %} {% if user.usercontactinfo.token_last_reset %} {{ user.usercontactinfo.token_last_reset }} {% else %} {% trans "Never" %} {% endif %}
{% trans "Password Last Reset" %} {% if user.usercontactinfo.password_last_reset %} {{ user.usercontactinfo.password_last_reset }} {% else %} {% trans "Never" %} {% endif %}
{% if not user.is_superuser %}

 {% trans "Configuration Permissions" %}

{% csrf_token %}
{% for field in configuration_permission_form.permission_fields %} {% endfor %}
  {% trans "View" %} {% trans "Add" %} {% trans "Edit" %} {% trans "Delete" %}
{{ field.display_name }} {% if field.view_codename %} {% endif %} {% if field.add_codename %} {% endif %} {% if field.change_codename %} {% endif %} {% if field.delete_codename %} {% endif %}
{% endif %}
{% endblock %} {% block postscript %} {{ block.super }} {% endblock %}