{% extends 'portal_base.html' %} {% load static i18n %} {% block title %}{% trans "Candidate Dashboard" %} - ATS{% endblock %} {% block content %}

{% trans "Welcome" %} {{ candidate.first_name }}

{% trans "Manage your applications and profile" %}

{% comment %}
{% trans "Active" %}
{% endcomment %}
{{ candidate.job.title|default:"No Job" }}

{% trans "Applied Position" %}

{{ candidate.stage|default:"Applied" }}

{% trans "Current Stage" %}

{{ candidate.created_at|date:"M d, Y" }}

{% trans "Application Date" %}

{% trans "Profile Information" %}

{{ candidate.first_name }} {{ candidate.last_name }}

{{ candidate.email }}

{{ candidate.phone|default:"Not provided" }}

{% if candidate.resume %} {% trans "Download Resume" %} {% else %} {% trans "No resume uploaded" %} {% endif %}

{% trans "My Applications" %}
{% if applications %}
{% for application in applications %} {% endfor %}
{% trans "Job Title" %} {% trans "Department" %} {% trans "Applied Date" %} {% trans "Current Stage" %} {% trans "Status" %} {% trans "Actions" %}
{{ application.job.title }} {% if application.job.department %}
{{ application.job.department }} {% endif %}
{{ application.job.department|default:"-" }} {{ application.created_at|date:"M d, Y" }} {{ application.get_stage_display }} {% if application.stage == "Hired" %} {% trans "Hired" %} {% elif application.stage == "Rejected" %} {% trans "Rejected" %} {% elif application.stage == "Offer" %} {% trans "Offer Extended" %} {% else %} {% trans "In Progress" %} {% endif %} {% trans "View Details" %}
{% else %}
{% trans "No Applications Yet" %}

{% trans "You haven't applied to any positions yet. Browse available jobs and submit your first application!" %}

{% trans "Browse Jobs" %}
{% endif %}
{% endblock %}