{% extends 'applicant/partials/candidate_facing_base.html'%} {% load static i18n %} {% block title %}{% trans "My Dashboard" %} - {{ block.super }}{% endblock %} {% block customCSS %} {% endblock %} {% block content %}
{# Header: Larger, more dynamic on large screens. Stacks cleanly on mobile. #}

{% trans "Your Candidate Dashboard" %}

{% trans "Update Profile" %}
{# Candidate Quick Overview Card: Use a softer background color #}
{% trans 'Profile Picture' %}

{{ candidate.name|default:"Candidate Name" }}

{{ candidate.email }}

{# ================================================= #} {# MAIN TABBED INTERFACE #} {# ================================================= #}
{# Tab Navigation: Used nav-scroll for responsiveness #} {# Tab Content #}

{% trans "Personal Information" %}

  • {% trans "Phone" %}
    {{ candidate.phone|default:"N/A" }}
  • {% trans "Nationality" %}
    {{ candidate.get_nationality_display|default:"N/A" }}
  • {% trans "Date of Birth" %}
    {{ candidate.date_of_birth|date:"M d, Y"|default:"N/A" }}
  • {% trans "Use the 'Update Profile' button above to edit these details." %}

{% trans "Quick Actions" %}

{% trans "Application Tracking" %}

{% if applications %}
{% for application in applications %} {% endfor %}
{% trans "Job Title" %} {% trans "Applied On" %} {% trans "Current Stage" %} {% trans "Status" %} {% trans "Action" %}
{{ application.job.title }} {{ application.applied_date|date:"d M Y" }} {{ application.stage }} {% if application.is_active %} {% trans "Active" %} {% else %} {% trans "Closed" %} {% endif %} {% trans "Details" %}
{% else %}
{% trans "You haven't submitted any applications yet." %}
{% trans "View Available Jobs" %}
{% endif %}

{% trans "My Uploaded Documents" %}

{% trans "You can upload and manage your resume, certificates, and professional documents here. These documents will be attached to your applications." %}

{% trans "Upload New Document" %}
{# Example Document List (Refined structure) #}
  • **{% trans "Resume" %}** (CV\_John\_Doe\_2024.pdf)
    {% trans "Uploaded: 10 Jan 2024" %}
  • **{% trans "Medical Certificate" %}** (Cert\_KSA\_MED.jpg)
    {% trans "Uploaded: 22 Feb 2023" %}

{% trans "Security & Preferences" %}

{% trans "Password Security" %}

{% trans "Update your password regularly to keep your account secure." %}

{% trans "Change Password" %}
{% trans "Email Preferences" %}

{% trans "Manage subscriptions and job alert settings." %}

{% trans "Manage Alerts" %}
{% trans "To delete your profile, please contact HR support." %}
{# ================================================= #}
{% endblock %}