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

playlists{% if user.username != usr.username%}{% trans "His courses" %}{% else %}{% trans "My courses" %}{% endif %}

    {% block courses %} {% with usr|user_courses as courses %} {% for c in courses %} {% with c.course as course %}
  • {{ course.title}} {{ course.type }}
  • {% endwith %} {% endfor %} {% endwith %} {% endblock courses %}
{% endblock %} {% if user.is_authenticated and user.username != usr.username %}
{% trans "Send a message" %}
{% endif %}

{% trans "User profile" %} : {{ usr.username }}

{% if user.is_authenticated and user.username == usr.username %} {% elif user.is_staff %} {% endif %}
{% trans "First Name" %}
{{ usr.first_name }}
{% trans "Last Name" %}
{{ usr.last_name }}
{% trans "Username" %}
{{ usr.username }}
{% if usr.student.get %} {% if user.is_staff %}
{% trans "IEJ" %}
{{ usr.student.get.iej }}
{% trans "Training" %}
{{ usr.student.get.training }}
{% else %}
{% trans "IEJ" %}
{{ usr.student.get.iej }}
{% trans "Training" %}
{{ usr.student.get.training }}
{% endif %}
{% trans "Platform only" %}
{{ usr.student.get.platform_only|yes_no }}
{% trans "Procedure"%}
{{ usr.student.get.procedure}}
{% trans "Oral spe"%}
{{ usr.student.get.oral_speciality }}
{% trans "Written spe"%}
{{ usr.student.get.written_speciality }}
{% trans "Oral 1"%}
{{ usr.student.get.oral_1 }}
{% trans "Oral 2"%}
{{ usr.student.get.oral_2 }}
{% trans "Options"%}
{{ usr.student.get.options }}
{% endif %} {% if user.is_staff or user.is_superuser %}
{% trans "Email" %}
{{ usr.email }}
{% trans "Address" %}
{{ usr.profile.get.address }} {{ usr.profile.get.postal_code }} {{ usr.profile.get.city }}
{% trans "Telephone" %}
{{ usr.profile.get.telephone }}
{% endif %}
{% trans "Date added" %}
{{ usr.date_joined }}
{% trans "Expiration date" %}
{{ usr.profile.get.expiration_date }}
{% trans "Last login" %}
{{ usr.last_login }}
{% if user.is_authenticated and user.username == usr.username %}
{% trans "Language" %}
{% csrf_token %}

{% trans "Apply" %}
{% endif %}
{% endblock content %}