{% extends 'academy/admin_base.html' %} {% load custom_filters %} {% block title %}Student: {{ student.full_name }}{% endblock %} {% block extra_css %} {% endblock %} {% block admin_content %}
Student Profile
| Full Name | {{ student.full_name }} |
|---|---|
| {{ student.email|default:"—" }} | |
| Phone Number | {{ student.phone_number|default:"—" }} |
| Course | {{ student.get_course_display }} |
| Registered On | {{ student.registered_at|date:"d M Y • H:i" }} |
| Payment Status | {{ student.payment_confirmed|yesno:"Paid,Pending" }} {% if not student.payment_confirmed %} {% endif %} |
| Test / Module | Status | Completed Date | Action |
|---|---|---|---|
| {{ TEST_LABELS|get:test_type|default:test_type }} | {% with attendances|get:test_type as ta %} {% if ta and ta.completed %} ✅ Completed {% else %} ⏳ Pending {% endif %} {% endwith %} | {% with attendances|get:test_type as ta %} {% if ta and ta.date_completed %} {{ ta.date_completed|date:"d M Y" }} {% else %} — {% endif %} {% endwith %} | {% with attendances|get:test_type as ta %} {% endwith %} |