{% extends "base.html" %} {% load static i18n %} {% block title %}{{ participant.name }} - Participant Details{% endblock %} {% block customCSS %} {% endblock %} {% block content %}
{# --- HEADER CARD WITH ACTIONS --- #}

{{ participant.name }}

{% trans "Participant Details" %}

{# --- END HEADER CARD --- #}
{# --- LEFT COLUMN: CORE CONTACT AND PROFESSIONAL INFO --- #}

{% trans "Contact & Role Information" %}

{# Name (Redundant here but included for clarity) #}
{% trans "Full Name" %} {{ participant.name }}
{# Email #}
{% trans "Email Address" %} {{ participant.email }}
{# Phone #}
{% trans "Phone Number" %} {{ participant.phone|default:"N/A" }}
{# Designation #}
{% trans "Designation" %} {{ participant.designation|default:"N/A" }}

{# Assigned Jobs Section #}

{% trans "Assigned Jobs" %}

{% for job in participant.jobs_participating.all %} {{ job.title }} {% empty %}

{% trans "This participant is not currently assigned to any job." %}

{% endfor %}
{# --- RIGHT COLUMN: TIMESTAMPS AND METADATA --- #}

{% trans "Metadata" %}

{% trans "Record Created" %} {{ participant.created_at|date:"F d, Y" }} ({% trans "at" %} {{ participant.created_at|time:"H:i" }})
{% trans "Last Updated" %} {{ participant.updated_at|date:"F d, Y" }} ({% trans "at" %} {{ participant.updated_at|time:"H:i" }})

{% trans "Total Assigned Jobs" %}

{{ participant.jobs_participating.count }}

{# Delete Confirmation Modal #} {% endblock %} {% block customJS %} {% endblock %}