{% extends "base.html" %} {% load avatar_tags i18n %} {% block sub_title %}{% trans "Settings" %} - {% endblock %} {% block main_class %}d-flex ovhd{% endblock %} {% block main_content %}

{% trans "Settings" %}

{% trans "Profile Setting" %}

{% avatar request.user.username 80 %}
{% csrf_token %}
{% csrf_token %} {% for error in form.nickname.errors %} {{ error|escape }} {% endfor %}
{% if form.data.login_id %} {% trans "You can use this field at login." %}
{% endif %} {% if form.data.contact_email %} {% trans "Your notifications will be sent to this email." %}
{% endif %} {% if form.telephone %} {% for error in form.telephone.errors %} {{ error|escape }} {% endfor %}
{% endif %}
{% if not is_ldap_user and ENABLE_CHANGE_PASSWORD %}

{% trans "Password" %}

{% trans "Update" %}
{% endif %} {% if ENABLE_ADDRESSBOOK_OPT_IN %}

{% trans "Global Address Book" %}

{% csrf_token %} {% if form.data.list_in_address_book %} {% else %} {% endif %}
{% endif %}

{% trans "Language Setting" %}

{{ LANGUAGE_CODE|language_name_local|capfirst }}
{% if two_factor_auth_enabled %}

{% trans "Two-Factor Authentication" %}

{% if default_device %}

{% trans "Status" %}: {% trans "enabled" %}

{% trans "Disable Two-Factor Authentication" %}

{% blocktrans %}If you don't have any device with you, you can access your account using backup codes.{% endblocktrans %} {% blocktrans count counter=backup_tokens %}You have only one backup code remaining.{% plural %}You have {{ counter }} backup codes remaining.{% endblocktrans %}

{% trans "Show Codes" %}

{% else %}

{% blocktrans %}Two-factor authentication is not enabled for your account. Enable two-factor authentication for enhanced account security.{% endblocktrans %}

{% trans "Enable Two-Factor Authentication" %}

{% endif %}
{% endif %}

{% trans "Delete Account" %}

{% trans "This operation will not be reverted. Please think twice!" %}

{% csrf_token %}
{% endblock %} {% block extra_script %} {% endblock %}