{% extends "myhome_base.html" %} {% load avatar_tags i18n %} {% load url from future %} {% block sub_title %}{% trans "Settings" %} - {% endblock %} {% block left_panel %}
{% endblock %} {% block right_panel %}

{% trans "Settings" %}

{% trans "Profile Setting" %}

{% avatar request.user.username 80 %}
{% csrf_token %}
{% csrf_token %} {% trans "Update" %}
{% for error in form.nickname.errors %} {{ error|escape }} {% endfor %}
{% for error in form.intro.errors %} {{ error|escape }} {% endfor %}
{% if form.department and form.telephone %} {% for error in form.department.errors %} {{ error|escape }} {% endfor %}
{% for error in form.telephone.errors %} {{ error|escape }} {% endfor %}
{% endif %}

{% trans "Language Setting" %}

{{ LANGUAGE_CODE|language_name_local }}
{% if user.permissions.can_add_repo %} {% if not force_server_crypto %}

{% trans "Encrypted Libraries Setting" %}

{% csrf_token %}
{% trans "Send passwords to the server." %} {% trans "Files will be decrypted in the server before being sent to you." %}
{% trans "Save passwords in your browser." %} {% trans "Files will be decrypted in your browser when you download them." %}

{% trans "Tip: the latter way is more secure, but it is not supported well by all browsers. We advise you to use the latest version of Chrome or Firefox." %}

{% endif %}

{% trans "Sub-library Setting" %}

{% csrf_token %} {% trans "Enable sub-library" %}

{% trans "This feature enables you to selectively sync a folder inside a library. A sub-library can be created from any folder. After being created, it will be listed in your desktop client, and you can download it just like downloading a normal library. It will be automatically kept in sync with its origin library." %}

{% trans "Sub-library is also used when sharing a folder to a group or another user. Without this option on, a hidden sub-library will be created automatically in such case. With this option on, those hidden sub-libraries will also be listed, which enables you to manage them." %}

{% trans "Default Library Setting" %}

{% if default_repo %}

{% trans "Your default library:" %} {{default_repo.name}}.

{% endif %}

{% trans "Default library is the default place to store your personal documents and pictures." %}

{% endif %}

{% trans "Delete Account" %}

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

{% csrf_token %}

{% trans "Choose default library:" %}

{% trans "Please click and choose a library."%}

{% endblock %} {% block extra_script %} {% include 'snippets/avatar_upload_js.html' %} {% endblock %}