{% load i18n static pretty_money perms %}

{% trans "Account #" %} {{ user_object.pk }}

{% trans 'name'|capfirst %}, {% trans 'first name' %}
{{ user_object.last_name }} {{ user_object.first_name }}
{% trans 'username'|capfirst %}
{{ user_object.username }}
{% if user_object.pk == user.pk %}
{% trans 'password'|capfirst %}
{% trans 'Change password' %}
{% endif %}
{% trans 'section'|capfirst %}
{{ user_object.profile.section }}
{% trans 'email'|capfirst %}
{{ user_object.email }}
{% trans 'phone number'|capfirst %}
{{ user_object.profile.phone_number }}
{% trans 'address'|capfirst %}
{{ user_object.profile.address }}
{% if "note.view_note"|has_perm:user_object.note %}
{% trans 'balance'|capfirst %}
{{ user_object.note.balance | pretty_money }}
{% trans 'paid'|capfirst %}
{{ user_object.profile.paid|yesno }}
{% endif %}
{% trans 'aliases'|capfirst %}
{{ user_object.note.alias_set.all|join:", " }}
{% if user_object.pk == user_object.pk %} {% trans 'Manage auth token' %} {% endif %}