{% block content %} {% load i18n %} {% if user.is_authenticated %}

{{ user.get_full_name|title }}

{% trans 'Last login:' %} {{ user.last_login|date }}

{% trans 'Role:' %} {{ user.get_user_role }}


{% if user.is_lecturer %}

{% trans 'My Courses' %}

{% if courses %}
    {% for course in courses %}
  • {{ course }}
  • {% endfor %}
{% else %}
{% trans 'No courses assigned!' %}
{% endif %}
{% endif %}

{% trans 'Personal Info' %}

{% trans 'First Name:' %} {{ user.first_name|title }}

{% trans 'Last Name:' %} {{ user.last_name|title }}

{% trans 'ID No.:' %} {{ user.username }}

{% if user.is_student %}

{% trans 'Applicant Info' %}

{% trans 'School:' %}{% trans 'Hawas Preparatory School' %}

{% trans 'Level:' %} {{ level.level }}

{% endif %}

{% trans 'Contact Info' %}

{% trans 'Email:' %} {{ user.email }}

{% trans 'Tel No.:' %} {{ user.phone }}

{% trans 'Address/city:' %} {{ user.address }}


{% trans 'Important Dates' %}

{% trans 'Last login:' %} {{ user.last_login }}

{% if current_semester and current_session %}

{% trans 'Academic Year:' %} {{ current_semester }} {% trans 'Semester' %} {{ current_session }}

{% endif %}

{% trans 'Registered Date:' %} {{ user.date_joined|date }}

{% endif %} {% endblock content %}