{% extends "telemeta/base.html" %} {% load i18n %} {% load telemeta_utils %} {% block head_title %}{% trans "User Profile" %} : {{ usr.username }}{% endblock %} {% block title %} user {% trans "User profile" %} : {{ usr.username }} {% endblock %} {% block content %}
{% block modules %}

playlists {% trans "Playlists" %}

{% block module_user_revisions %} {% with user_revisions as revisions and "Last changes" as title %} {% include "telemeta/inc/module_user_revisions.html" %} {% endwith %} {% endblock %} {% endblock %}
{% trans "First Name" %}
{{ usr.first_name }}
{% trans "Last Name" %}
{{ usr.last_name }}
{% trans "Email" %}
{{ usr.email }}
{% trans "Institution" %}
{% if profile %}{{ profile.institution }}{% endif %}
{% trans "Department" %}
{% if profile %}{{ profile.department }}{% endif %}
{% trans "Function" %}
{% if profile %}{{ profile.function }}{% endif %}
{% trans "Attachment" %}
{% if profile %}{{ profile.attachment }}{% endif %}
{% trans "Address" %}
{% if profile %}{{ profile.address }}{% endif %}
{% trans "Telephone" %}
{% if profile %}{{ profile.telephone }}{% endif %}
{% trans "Expiration date" %}
{% if profile %}{{ profile.expiration_date }}{% endif %}
{% trans "Is staff" %}
{{ usr.is_staff }}
{% trans "Is superuser" %}
{{ usr.is_superuser }}
{% blocktrans count user.groups.all.count as counter %}Group{% plural %}Groups{% endblocktrans %}
{% for group in usr.groups.all %}{{ group }} {% endfor %}
{% trans "Last login" %}
{{ usr.last_login }}
{% if user.is_authenticated and user.username == usr.username %}
{% trans "Language" %}
{% csrf_token %} {% trans "Apply" %}
{% endif %}
{% if user.is_authenticated and user.username == usr.username or user.is_staff %} {% trans "Edit" %} {% endif %} {% if user.is_authenticated and user.username == usr.username %} {% trans "Change password" %} {% endif %} {% endblock %}