{% trans "Full name" %} | {{ object.fullname }} |
{% trans "Role" %} | {{ object.get_role_display }} |
{% trans "Created" %} | {{ object.date_joined|date:"SHORT_DATETIME_FORMAT" }} |
{% trans "Last login" %} | {{ object.last_login|date:"SHORT_DATETIME_FORMAT" }} |
{% trans "Secondary email" %} | {{ object.secondary_email|default:_("Not defined") }} |
{% trans "Phone number" %} | {{ object.phone_number|default:_("Not defined") }} |
{% if object.mailbox %}
{% trans "Quota" %} |
{% include "common/progressbar.html" with id='quotabar' value=object.mailbox.get_quota_in_percent %} |
{% if object.mailbox.message_limit is not None %}
{% trans "Message sending limit" %} |
{% include "common/progressbar.html" with id='messagelimitbar' value=object.mailbox.sent_messages_in_percent %} |
{% endif %}
{% endif %}