{% load seahub_tags i18n %} {% if is_pro %} {% else %} {% endif %} {% if show_institution %} {% else %} {% endif %} {% for user in users %} {% if is_pro %} {% endif %} {% if show_institution %} {% endif %} {% endfor %}
{% trans "Email" %} / {% trans "Name" %} / {% trans "Contact Email" %} {% trans "Status" %} {% trans "Role" %}{% trans "Email" %} / {% trans "Name" %} / {% trans "Contact Email" %} {% trans "Status" %}{% trans "Space Used / Quota" %} {% trans "Institution" %} {% trans "Create At / Last Login" %} {% trans "Space Used / Quota" %} {% trans "Create At / Last Login" %}
{{ user.email }} {% if user.name %}
{{ user.name }}{% endif %} {% if user.contact_email %}
{{ user.contact_email }}{% endif %} {% if not is_admin_page %} {% if user.org %}

({{user.org.org_name}})

{% endif %} {% if user.trial_info %}

(Trial  X)

{% endif %} {% endif %}
{% if user.is_active %} {% trans "Active" %} {% else %} {% trans "Inactive" %} {% endif %}
{% if not is_admin_page %}
{% if user.is_guest %} {% trans "Guest" %} {% elif user.is_default %} {% trans "Default" %} {% else %} {{user.role}} {% endif %}
{% else %} {# else for `if not is_admin_page` #}
{% if user.admin_role == default_admin %} {% trans "Default Admin" context "Default Administrator" %} {% elif user.admin_role == system_admin %} {% trans "System Admin" context "System Administrator" %} {% elif user.admin_role == daily_admin %} {% trans "Daily Admin" context "Daily Administrator" %} {% elif user.admin_role == audit_admin %} {% trans "Audit Admin" context "Audit Administrator" %} {% else %} {{user.admin_role}} {% endif %}
{% endif %}
{{ user.space_usage|seahub_filesizeformat }} / {% if user.space_quota > 0 %} {{ user.space_quota|seahub_filesizeformat }} {% else %} -- {% endif %}
{{ user.institution }}
{% if user.source == "DB" %} {{ user.ctime|tsstr_sec }} /
{% else %} -- / {% endif %} {% if user.last_login %}{{user.last_login|translate_seahub_time}} {% else %} -- {% endif %}
{% if not user.is_self %} {% trans "Delete" %}
{% if user.source == "DB" %} {% trans "ResetPwd" %} {% endif %}
{% if is_admin_page %} {% trans "Revoke Admin" %} {% endif %} {% endif %}
{% csrf_token %}

{% trans "Set user storage limit" %}

MB

{% trans "An integer that is greater than or equal to 0." %}
{% trans "Tip: 0 means default limit" %}