{% extends "page.html" %} {% load gravatar %} {% block title %}- Profile{% endblock %} {% block styles %} {{ block.super }} {% endblock %} {% block primary_content %} {% block profile_header %}
{% if user.email %}{% gravatar user.email 250 %}{% else %}{% gravatar "tethys@example.com" 250 %}{% endif %}
{% if user.first_name %}{{ user.first_name }} {{ user.last_name }}{% else %}{{ user.username }}{% endif %}
{% endblock %} {% block edit_button %}
{% endblock %} {% block profile_sections %}

Name

{% block name_parameters %}
  • First Name:{{ user.first_name|default:"Not Given" }}
  • Last Name:{{ user.last_name|default:"Not Given" }}
{% endblock %}

Credentials

{% block credential_parameters %}
  • Username:{{ user.username }}
  • {% if user.has_usable_password %}
  • Password:********
  • {% endif %}
  • 2-Step Verification: {% if has_mfa %}Enabled{% else %}Not Enabled{% endif %}
{% endblock %}

API Key

  • Token: {% if show_user_token_mfa %} {{ user_token }} {% else %} Enable 2-Step verification to view token {% endif %}

Email

{% block gravatar_parameters %}
  • Email:{{ user.email|default:"Not Given" }}
{% endblock %}
{% if backends.backends %}

Social

{% block social_parameters %}
  • Connected: {% if backends.associated %} {% include 'tethys_portal/user/social_labels.html' with backends=backends.associated %} {% else %} None {% endif %}
  • Not Connected: {% if backends.not_associated %} {% include 'tethys_portal/user/social_labels.html' with backends=backends.not_associated %} {% else %} None {% endif %}
{% endblock %}
{% endif %} {% block account_parameters %}

Account

  • Member Since:{{ user.date_joined|date:"F j, Y" }}
  • Status:{% if user.is_active %}Active{% else %}Inactive{% endif %}
{% endblock %} {% block workspace_management %}

Workspace

  • Storage Summary:{{ current_use }} of {{ quota|default:"∞" }}
{% endblock %} {% endblock %} {% endblock %} {% block scripts %} {{ block.super }} {% endblock %}