{% load i18n %} {% get_current_language as LANGUAGE_CODE %} {% if LANGUAGE_CODE == 'ar' %} {{ application.resume_data_ar.full_name|default:"Application" }} - Application Profile {% else %} {{ application.resume_data_en.full_name|default:"Application" }} - Application Profile {% endif %} {% comment %}
{% include 'recruitment/partials/ai_overview_breadcromb.html' %}

{{ application.resume_data.full_name|default:"Application Name" }}

{{ application.resume_data.current_title|default:"Professional Title" }}

{{ application.resume_data.location|default:"Location" }}
{{ application.resume_data.contact|default:"Contact Information" }}
{% if application.resume_data.linkedin %}
{% endif %} {% if application.resume_data.github %}
{% endif %}
{{ application.analysis_data.match_score|default:0 }}%
Match Score
{{ application.analysis_data.screening_stage_rating|default:"Assessment" }}

Summary

{{ application.resume_data.summary|default:"Professional summary not available." }}

Experience

{% for experience in application.resume_data.experience %}

{{ experience.job_title }}

{{ experience.company }}

{% if experience.end_date == "Present" %}Present{% else %}{{ experience.end_date|default:"Current" }}{% endif %}

{% if experience.start_date %}{{ experience.start_date }}{% endif %} - {% if experience.end_date and experience.end_date != "Present" %}{{ experience.end_date }}{% else %}Present{% endif %} {% if experience.location %}{{ experience.location }}{% endif %}

{% if experience.key_achievements %}
    {% for achievement in experience.key_achievements %}
  • {{ achievement }}
  • {% endfor %}
{% endif %}
{% endfor %}

Education

{% for education in application.resume_data.education %}

{{ education.degree }}

{{ education.institution }}

{% if education.year %}

{{ education.year }}

{% endif %} {% if education.gpa %}

GPA: {{ education.gpa }}

{% endif %} {% if education.relevant_courses %}

Courses: {{ education.relevant_courses|join:", " }}

{% endif %}
{% endfor %}

Projects

{% for project in application.resume_data.projects %}

{{ project.name }}

{{ project.brief_description }}

{% if project.technologies_used %}
{% for tech in project.technologies_used %} {{ tech }} {% endfor %}
{% endif %}
{% endfor %} {% if not application.resume_data.projects %}

No projects detailed in the resume.

{% endif %}
{% if application.analysis_data.top_3_keywords or application.analysis_data.cultural_fit_keywords %}

Keywords

{% if application.analysis_data.top_3_keywords %}

Top Keywords (Job Match)

{% for keyword in application.analysis_data.top_3_keywords %} {{ keyword }} {% endfor %}
{% endif %} {% if application.analysis_data.cultural_fit_keywords %}

Cultural Fit Keywords

{% for keyword in application.analysis_data.cultural_fit_keywords %} {{ keyword }} {% endfor %}
{% endif %}
{% endif %}

Analysis

{% if application.analysis_data.category %}
Target Role Category: {{ application.analysis_data.category }}
{% endif %} {% if application.analysis_data.red_flags %}

Red Flags

{{ application.analysis_data.red_flags|join:". "|default:"None." }}

{% endif %} {% if application.analysis_data.strengths %}

Strengths

{{ application.analysis_data.strengths }}

{% endif %} {% if application.analysis_data.weaknesses %}

Weaknesses

{{ application.analysis_data.weaknesses }}

{% endif %} {% if application.analysis_data.recommendation %}

Recommendation

{{ application.analysis_data.recommendation }}

{% endif %}
{% if application.analysis_data.criteria_checklist %}

Required Criteria Check

{% for criterion, status in application.analysis_data.criteria_checklist.items %}
{{ criterion }} {% if status == 'Met' %} Met {% elif status == 'Not Mentioned' %} Not Mentioned {% else %} {{ status }} {% endif %}
{% endfor %}
{% endif %}

Skills

{% if application.resume_data.skills %} {% for category, skills in application.resume_data.skills.items %}

{{ category|cut:"_"|title }}

{% for skill in skills %} {{ skill }} {% endfor %}
{% endfor %} {% else %}

Skills information not available.

{% endif %}

Languages

{% if application.analysis_data.language_fluency %} {% for language in application.analysis_data.language_fluency %}
{{ language }}
{% with fluency_check=language|lower %}
{% endwith %}
{% endfor %} {% else %}

Language information not available.

{% endif %}

Key Metrics

{% if application.analysis_data.min_req_met_bool is not none %}
Min Requirements Met: {% if application.analysis_data.min_req_met_bool %} Yes{% else %} No{% endif %}
{% endif %} {% if application.analysis_data.years_of_experience is not none %}
Total Experience: {{ application.analysis_data.years_of_experience|floatformat:1 }} years
{% endif %} {% if application.analysis_data.most_recent_job_title %}
Most Recent Title (Scoring): {{ application.analysis_data.most_recent_job_title }}
{% endif %} {% if application.analysis_data.seniority_level_match is not none %}
Seniority Match: {{ application.analysis_data.seniority_level_match|default:0 }}/100
{% endif %} {% if application.analysis_data.soft_skills_score is not none %}
Soft Skills Score: {{ application.analysis_data.soft_skills_score|default:0 }}/100
{% endif %} {% if application.analysis_data.employment_stability_score is not none %}
Stability Score: {{ application.analysis_data.employment_stability_score|default:0 }}/100
{% endif %} {% if application.analysis_data.experience_industry_match is not none %}
Industry Match: {{ application.analysis_data.experience_industry_match|default:0 }}/100
{% endif %}
{% if application.analysis_data.transferable_skills_narrative %}
Transferable Skills: {{ application.analysis_data.transferable_skills_narrative }}
{% endif %}
{% endcomment %} {% if LANGUAGE_CODE == 'ar' %} {% with data_source=application.resume_data_ar analysis_source=application.analysis_data_ar %}
{% include 'recruitment/partials/ai_overview_breadcromb.html' %}

{{ data_source.full_name|default:"اسم المرشح" }}

{{ data_source.current_title|default:"المسمى الوظيفي" }}

{{ data_source.location|default:"الموقع" }}
{{ data_source.contact|default:"معلومات الاتصال" }}
{% if data_source.linkedin %}
{% endif %} {% if data_source.github %}
{% endif %}
{{ analysis_source.match_score|default:0 }}%
{% trans "Match Score" %}
{{ analysis_source.screening_stage_rating|default:"التقييم" }}

{% trans "Analysis" %}

{% if analysis_source.category %}
{% trans "Target Role Category:" %} {{ analysis_source.category }}
{% endif %} {% if analysis_source.red_flags %}

{% trans "Red Flags" %}

{{ analysis_source.red_flags|join:". "|default:"لا يوجد." }}

{% endif %} {% if analysis_source.strengths %}

{% trans "Strengths" %}

{{ analysis_source.strengths }}

{% endif %} {% if analysis_source.weaknesses %}

{% trans "Weaknesses" %}

{{ analysis_source.weaknesses }}

{% endif %} {% if analysis_source.recommendation %}

{% trans "Recommendation" %}

{{ analysis_source.recommendation }}

{% endif %}
{% if analysis_source.criteria_checklist %}

{% trans "Required Criteria Check" %}

{% for criterion, status in analysis_source.criteria_checklist.items %}
{{ criterion }} {% if status == 'Met' %} {% trans "Met" %} {% elif status == 'Not Mentioned' %} {% trans "Not Mentioned" %} {% else %} {{ status }} {% endif %}
{% endfor %}
{% endif %}

{% trans "Skills" %}

{% if data_source.skills %} {% for category, skills in data_source.skills.items %}

{{ category|cut:"_"|title }}

{% for skill in skills %} {{ skill }} {% endfor %}
{% endfor %} {% else %}

{% trans "Skills information not available." %}

{% endif %}

{% trans "Languages" %}

{% if analysis_source.language_fluency %} {% for language in analysis_source.language_fluency %}
{{ language }}
{% with fluency_check=language|lower %}
{% endwith %}
{% endfor %} {% else %}

{% trans "Language information not available." %}

{% endif %}

{% trans "Key Metrics" %}

{% if analysis_source.min_req_met_bool is not none %}
{% trans "Min Requirements Met:" %} {% if analysis_source.min_req_met_bool %} {% trans "Yes" %}{% else %} {% trans "No" %}{% endif %}
{% endif %} {% if analysis_source.years_of_experience is not none %}
{% trans "Total Experience:" %} {{ analysis_source.years_of_experience|floatformat:1 }} {% trans "years" %}
{% endif %} {% if analysis_source.most_recent_job_title %}
{% trans "Most Recent Title (Scoring):" %} {{ analysis_source.most_recent_job_title }}
{% endif %} {% if analysis_source.seniority_level_match is not none %}
{% trans "Seniority Match:" %} {{ analysis_source.seniority_level_match|default:0 }}/100
{% endif %} {% if analysis_source.soft_skills_score is not none %}
{% trans "Soft Skills Score:" %} {{ analysis_source.soft_skills_score|default:0 }}/100
{% endif %} {% if analysis_source.employment_stability_score is not none %}
{% trans "Stability Score:" %} {{ analysis_source.employment_stability_score|default:0 }}/100
{% endif %} {% if analysis_source.experience_industry_match is not none %}
{% trans "Industry Match:" %} {{ analysis_source.experience_industry_match|default:0 }}/100
{% endif %}
{% if analysis_source.transferable_skills_narrative %}
{% trans "Transferable Skills:" %} {{ analysis_source.transferable_skills_narrative }}
{% endif %}

{% trans "Summary" %}

{{ data_source.summary|default:"الملخص المهني غير متوفر." }}

{% trans "Experience" %}

{% for experience in data_source.experience %}

{{ experience.job_title }}

{{ experience.company }}

{% if experience.end_date == "Present" %}{% trans "Present" %}{% else %}{{ experience.end_date|default:"حالي" }}{% endif %}

{% if experience.end_date and experience.end_date != "Present" %}{{ experience.end_date }}{% else %}{% trans "Present" %}{% endif %} - {% if experience.start_date %}{{ experience.start_date }}{% endif %} {% if experience.location %}{{ experience.location }}{% endif %}

{% if experience.key_achievements %}
    {% for achievement in experience.key_achievements %}
  • {{ achievement }}
  • {% endfor %}
{% endif %}
{% endfor %}

{% trans "Education" %}

{% for education in data_source.education %}

{{ education.degree }}

{{ education.institution }}

{% if education.year %}

{{ education.year }}

{% endif %} {% if education.gpa %}

{% trans "GPA" %}: {{ education.gpa }}

{% endif %} {% if education.relevant_courses %}

{% trans "Courses" %}: {{ education.relevant_courses|join:", " }}

{% endif %}
{% endfor %}

{% trans "Projects" %}

{% for project in data_source.projects %}

{{ project.name }}

{{ project.brief_description }}

{% if project.technologies_used %}
{% for tech in project.technologies_used %} {{ tech }} {% endfor %}
{% endif %}
{% endfor %} {% if not data_source.projects %}

{% trans "No projects detailed in the resume." %}

{% endif %}
{% if analysis_source.top_3_keywords or analysis_source.cultural_fit_keywords %}

{% trans "Keywords" %}

{% if analysis_source.top_3_keywords %}

{% trans "Top Keywords (Job Match)" %}

{% for keyword in analysis_source.top_3_keywords %} {{ keyword }} {% endfor %}
{% endif %} {% if analysis_source.cultural_fit_keywords %}

{% trans "Cultural Fit Keywords" %}

{% for keyword in analysis_source.cultural_fit_keywords %} {{ keyword }} {% endfor %}
{% endif %}
{% endif %}
{% endwith %} {% else %} {% with data_source=application.resume_data_en analysis_source=application.analysis_data_en %}
{% include 'recruitment/partials/ai_overview_breadcromb.html' %}

{{ data_source.full_name|default:"Application Name" }}

{{ data_source.current_title|default:"Professional Title" }}

{{ data_source.location|default:"Location" }}
{{ data_source.contact|default:"Contact Information" }}
{% if data_source.linkedin %}
{% endif %} {% if data_source.github %}
{% endif %}
{{ analysis_source.match_score|default:0 }}%
{% trans "Match Score" %}
{{ analysis_source.screening_stage_rating|default:"Assessment" }}

{% trans "Summary" %}

{{ data_source.summary|default:"Professional summary not available." }}

{% trans "Experience" %}

{% for experience in data_source.experience %}

{{ experience.job_title }}

{{ experience.company }}

{% if experience.end_date == "Present" %}{% trans "Present" %}{% else %}{{ experience.end_date|default:"Current" }}{% endif %}

{% if experience.start_date %}{{ experience.start_date }}{% endif %} - {% if experience.end_date and experience.end_date != "Present" %}{{ experience.end_date }}{% else %}{% trans "Present" %}{% endif %} {% if experience.location %}{{ experience.location }}{% endif %}

{% if experience.key_achievements %}
    {% for achievement in experience.key_achievements %}
  • {{ achievement }}
  • {% endfor %}
{% endif %}
{% endfor %}

{% trans "Education" %}

{% for education in data_source.education %}

{{ education.degree }}

{{ education.institution }}

{% if education.year %}

{{ education.year }}

{% endif %} {% if education.gpa %}

{% trans "GPA" %}: {{ education.gpa }}

{% endif %} {% if education.relevant_courses %}

{% trans "Courses" %}: {{ education.relevant_courses|join:", " }}

{% endif %}
{% endfor %}

{% trans "Projects" %}

{% for project in data_source.projects %}

{{ project.name }}

{{ project.brief_description }}

{% if project.technologies_used %}
{% for tech in project.technologies_used %} {{ tech }} {% endfor %}
{% endif %}
{% endfor %} {% if not data_source.projects %}

{% trans "No projects detailed in the resume." %}

{% endif %}
{% if analysis_source.top_3_keywords or analysis_source.cultural_fit_keywords %}

{% trans "Keywords" %}

{% if analysis_source.top_3_keywords %}

{% trans "Top Keywords (Job Match)" %}

{% for keyword in analysis_source.top_3_keywords %} {{ keyword }} {% endfor %}
{% endif %} {% if analysis_source.cultural_fit_keywords %}

{% trans "Cultural Fit Keywords" %}

{% for keyword in analysis_source.cultural_fit_keywords %} {{ keyword }} {% endfor %}
{% endif %}
{% endif %}

{% trans "Analysis" %}

{% if analysis_source.category %}
{% trans "Target Role Category:" %} {{ analysis_source.category }}
{% endif %} {% if analysis_source.red_flags %}

{% trans "Red Flags" %}

{{ analysis_source.red_flags|join:". "|default:"None." }}

{% endif %} {% if analysis_source.strengths %}

{% trans "Strengths" %}

{{ analysis_source.strengths }}

{% endif %} {% if analysis_source.weaknesses %}

{% trans "Weaknesses" %}

{{ analysis_source.weaknesses }}

{% endif %} {% if analysis_source.recommendation %}

{% trans "Recommendation" %}

{{ analysis_source.recommendation }}

{% endif %}
{% if analysis_source.criteria_checklist %}

{% trans "Required Criteria Check" %}

{% for criterion, status in analysis_source.criteria_checklist.items %}
{{ criterion }} {% if status == 'Met' %} {% trans "Met" %} {% elif status == 'Not Mentioned' %} {% trans "Not Mentioned" %} {% else %} {{ status }} {% endif %}
{% endfor %}
{% endif %}

{% trans "Skills" %}

{% if data_source.skills %} {% for category, skills in data_source.skills.items %}

{{ category|cut:"_"|title }}

{% for skill in skills %} {{ skill }} {% endfor %}
{% endfor %} {% else %}

{% trans "Skills information not available." %}

{% endif %}

{% trans "Languages" %}

{% if analysis_source.language_fluency %} {% for language in analysis_source.language_fluency %}
{{ language }}
{% with fluency_check=language|lower %}
{% endwith %}
{% endfor %} {% else %}

{% trans "Language information not available." %}

{% endif %}

{% trans "Key Metrics" %}

{% if analysis_source.min_req_met_bool is not none %}
{% trans "Min Requirements Met:" %} {% if analysis_source.min_req_met_bool %} {% trans "Yes" %}{% else %} {% trans "No" %}{% endif %}
{% endif %} {% if analysis_source.years_of_experience is not none %}
{% trans "Total Experience:" %} {{ analysis_source.years_of_experience|floatformat:1 }} {% trans "years" %}
{% endif %} {% if analysis_source.most_recent_job_title %}
{% trans "Most Recent Title (Scoring):" %} {{ analysis_source.most_recent_job_title }}
{% endif %} {% if analysis_source.seniority_level_match is not none %}
{% trans "Seniority Match:" %} {{ analysis_source.seniority_level_match|default:0 }}/100
{% endif %} {% if analysis_source.soft_skills_score is not none %}
{% trans "Soft Skills Score:" %} {{ analysis_source.soft_skills_score|default:0 }}/100
{% endif %} {% if analysis_source.employment_stability_score is not none %}
{% trans "Stability Score:" %} {{ analysis_source.employment_stability_score|default:0 }}/100
{% endif %} {% if analysis_source.experience_industry_match is not none %}
{% trans "Industry Match:" %} {{ analysis_source.experience_industry_match|default:0 }}/100
{% endif %}
{% if analysis_source.transferable_skills_narrative %}
{% trans "Transferable Skills:" %} {{ analysis_source.transferable_skills_narrative }}
{% endif %}
{% endwith %} {% endif %}