{% extends "base.html" %} {% load static %} {% block title %} {{ record.title }} | Training Record {% endblock %} {% block css %} {% endblock %} {% block content %}

Training Record: {{ record.title }}

{{ record.title }}

{{ record.get_training_type_display }} by {{ record.provider }}

{{ record.get_status_display }} {% if record.is_mandatory %} Mandatory {% endif %} {% if record.is_certified %} Certified {% endif %}
Department: {{ record.employee.department.name }}
{% if record.status == 'IN_PROGRESS' %}
Progress {{ record.completion_percentage|default:"0" }}%
{% endif %}
Start Date:
{{ record.start_date|date:"M d, Y" }}
End Date:
{{ record.end_date|date:"M d, Y" }}
Completion Date:
{{ record.completion_date|date:"M d, Y"|default:"Not completed" }}
Expiration Date:
{{ record.expiration_date|date:"M d, Y"|default:"No expiration" }}
Description
{{ record.description|linebreaks|default:"No description provided." }}
{% if record.learning_objectives %}
Learning Objectives
    {% for objective in record.learning_objectives_list %}
  • {{ objective }}
  • {% endfor %}
{% endif %}
Completion Details
{% if record.status == 'COMPLETED' %}
Completion Date:
{{ record.completion_date|date:"M d, Y" }}
Score/Grade:
{{ record.score_grade|default:"Not recorded" }}
Hours Completed:
{{ record.hours_completed|default:"0" }} hours
{% if record.completion_notes %}
Completion Notes:
{{ record.completion_notes|linebreaks }}
{% endif %} {% if record.is_certified %}
Certification Details
Certificate Number:
{{ record.certificate_number|default:"Not recorded" }}
Issued By:
{{ record.provider }}
Expiration Date:
{{ record.expiration_date|date:"M d, Y"|default:"No expiration" }}
{% endif %} {% if certificates %}
Certificates
{% for certificate in certificates %}
{{ certificate.title }}

{{ certificate.file.name|split:"/"|last }}

Download
{% endfor %}
{% endif %} {% else %}
This training has not been completed yet.
{% endif %}
Timeline
{% if record.created_at %}
{{ record.created_at|date:"M d, Y H:i" }}
Training Record Created

Training record was created by {{ record.created_by.get_full_name|default:"System" }}

{% endif %} {% if record.start_date %}
{{ record.start_date|date:"M d, Y" }}
Training Started

{{ record.title }} training began

{% endif %} {% if record.status == 'IN_PROGRESS' and record.last_updated %}
{{ record.last_updated|date:"M d, Y H:i" }}
Progress Updated

Progress updated to {{ record.completion_percentage|default:"0" }}%

{% endif %} {% if record.completion_date %}
{{ record.completion_date|date:"M d, Y" }}
Training Completed

{{ record.title }} training was successfully completed

{% endif %} {% if record.expiration_date and record.status == 'EXPIRED' %}
{{ record.expiration_date|date:"M d, Y" }}
Certification Expired

The certification for this training has expired

{% endif %} {% if record.end_date and record.end_date > today and record.status != 'COMPLETED' %}
{{ record.end_date|date:"M d, Y" }}
Expected Completion

Training is expected to be completed by this date

{% endif %}
{% if attachments %}
Attachments
{% for attachment in attachments %} {% endfor %}
Title File Type Uploaded Actions
{{ attachment.title }} {{ attachment.file.name|split:"."|last|upper }} {{ attachment.uploaded_at|date:"M d, Y" }} Download
{% endif %} {% if record.notes %}
Notes
{{ record.notes|linebreaks }}
{% endif %}
Quick Actions
Edit Record {% if record.status != 'COMPLETED' %} Mark as Completed {% endif %} {% if record.is_certified and record.status == 'EXPIRED' %} Renew Certification {% endif %} Delete Record
Employee Information
{% if record.employee.profile_picture %} {{ record.employee.get_full_name }} {% else %}
{{ record.employee.get_initials }}
{% endif %}
{{ record.employee.get_full_name }}

{{ record.employee.job_title }}

Department:
{{ record.employee.department.name }}
Employee ID:
{{ record.employee.employee_id }}
Email:
{{ record.employee.email }}
View Employee Profile
{% if related_trainings %}
Related Trainings
{% endif %}
{% endblock %} {% block js %} {% endblock %}