{% extends "admin_base.html" %} {% load i18n avatar_tags seahub_tags %} {% load url from future %} {% block extra_style %} {% endblock %} {% block left_panel %}

{% trans "Profile" %}

{% avatar email 48 %}
{% trans "Email" %}
{{ email }}
{% if org_name %}
{% trans "Organization" %}
{{ org_name }}
{% endif %} {% if profile %}
{% trans "Name" context "true name" %}
{{ profile.nickname }}
{% trans "Self-introduction" %}
{{ profile.intro }}
{% endif %} {% if d_profile %}
{% trans "Department" %}
{{ d_profile.department }}
{% trans "Telephone" %}
{{ d_profile.telephone }}
{% endif %}

{% trans "Space Used" %}

{% trans "Used" %}: {{ space_usage|filesizeformat }} {% if space_quota > 0 %} / {{ space_quota|filesizeformat }} {% endif %}

{% if CALC_SHARE_USAGE %}

{% trans "Sharing" %}: {{ share_usage|filesizeformat }} {% if share_quota > 0 %} / {{ share_quota|filesizeformat }} {% endif %}

{% endif %} {% trans "Set Quota" %}
{% csrf_token %}

{% trans "Set user storage limit" %}

MB {% if CALC_SHARE_USAGE %}
MB
{% endif %}

{% trans "Tip: 0 means default limit" %}

{% endblock %} {% block right_panel %}
{% if owned_repos %} {% for repo in owned_repos %} {% endfor %}
{% trans "Name" %} {% trans "Description" %} {% trans "Operations" %}
{% trans {{ repo.props.name }} {{ repo.props.desc }}
{% else %}

{% trans "None" %}

{% endif %}
{% if in_repos %} {% for repo in in_repos %} {% endfor %}
{% trans "Name" %} {% trans "Share From" %} {% trans "Description" %}
library icon {{ repo.props.repo_name }} {{ repo.props.user }} {{ repo.props.repo_desc }}
{% else %}

{% trans "None" %}

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