From a18baa0d7385f5a14af7cd1b39ca9ea16574ed05 Mon Sep 17 00:00:00 2001 From: Faheed Date: Sat, 22 Nov 2025 19:40:04 +0300 Subject: [PATCH] Revert ".." This reverts commit 47807ace90d52a389399f9c926da61c49505615d. --- templates/portal_base.html | 28 +- .../candidate_application_detail.html | 876 +++++++------ templates/recruitment/candidate_profile.html | 1079 ++++++++--------- 3 files changed, 905 insertions(+), 1078 deletions(-) diff --git a/templates/portal_base.html b/templates/portal_base.html index 30fcb0e..46d53d7 100644 --- a/templates/portal_base.html +++ b/templates/portal_base.html @@ -93,26 +93,8 @@ {% trans "Dashboard" %} - {% endif %} - - {% if request.user.is_authenticated %} - - {% endif %} - - - + {% endif %} + - - - - - + {# Tab Content #} -
+
@@ -480,27 +354,23 @@ {% trans "Basic Information" %}
    -
  • +
  • {% trans "First Name" %}
    - {{ candidate.first_name|default:"" }} + {{ candidate.first_name|default:"" }}
  • -
  • +
  • {% trans "Last Name" %}
    - {{ candidate.last_name|default:"" }} + {{ candidate.last_name|default:"" }}
  • {% if candidate.middle_name %} -
  • +
  • {% trans "Middle Name" %}
    - {{ candidate.middle_name }} + {{ candidate.middle_name }}
  • {% endif %} -
  • +
  • {% trans "Email" %}
    - {{ candidate.email|default:"" }} + {{ candidate.email|default:"" }}
@@ -511,24 +381,21 @@ {% trans "Contact Information" %}
    -
  • +
  • {% trans "Phone" %}
    - {{ candidate.phone|default:"" }} + {{ candidate.phone|default:"" }}
  • {% if candidate.address %} -
  • -
    {%trans "Address" %}
    - {{ candidate.address|linebreaksbr }} +
  • +
    {% trans "Address" %}
    + {{ candidate.address|linebreaksbr }}
  • {% endif %} {% if candidate.linkedin_profile %} -
  • +
  • {% trans "LinkedIn Profile" %}
    - - + + {% trans "View Profile" %} @@ -543,20 +410,17 @@ {% trans "Personal Details" %}
      -
    • +
    • {% trans "Date of Birth" %}
      - {{ candidate.date_of_birth|date:"M d, Y"|default:"" }} + {{ candidate.date_of_birth|date:"M d, Y"|default:"" }}
    • -
    • +
    • {% trans "Gender" %}
      - {{ candidate.get_gender_display|default:"" }} + {{ candidate.get_gender_display|default:"" }}
    • -
    • +
    • {% trans "Nationality" %}
      - {{ candidate.get_nationality_display|default:"" }} + {{ candidate.get_nationality_display|default:"" }}
@@ -568,89 +432,117 @@
+ + {% comment %}
+ + {% trans "Use the 'Update Profile' button above to edit these details." %} +
{% endcomment %} + + {% comment %}
{% endcomment %} + + {% comment %}

{% trans "Quick Actions" %}

+
+ + + +
{% endcomment %}

{% trans "Application Tracking" %}

{% if applications %} -
- {% for application in applications %} -
-
-
- -
-
-
- - {{ application.job.title }} - -
-

- - {% trans "Applied" %}: {{ application.applied_date|date:"d M Y" }} -

+
+ {% for application in applications %} +
+
+
+ +
+
+
+ + {{ application.job.title }} + +
+

+ + {% trans "Applied" %}: {{ application.applied_date|date:"d M Y" }} +

+
-
- -
-
- {% trans "Current Stage" %} - - {{ application.stage }} - + +
+
+ {% trans "Current Stage" %} + + {{ application.stage }} + +
+
+ {% trans "Status" %} + {% if application.is_active %} + {% trans "Active" %} + {% else %} + {% trans "Closed" %} + {% endif %} +
-
- {% trans "Status" %} - {% if application.is_active %} - {% trans "Active" %} - {% else %} - {% trans "Closed" %} - {% endif %} -
-
- -
+ {% endfor %}
- {% endfor %} -
{% else %} -
- -
{% trans "You haven't submitted any applications yet." %}
- - {% trans "View Available Jobs" %} - -
+
+ +
{% trans "You haven't submitted any applications yet." %}
+ + {% trans "View Available Jobs" %} + +
{% endif %}
@@ -659,9 +551,7 @@

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

- @@ -670,18 +560,15 @@ {# Document List #}
    {% for document in documents %} -
  • +
  • - {{document.document_type|title }} + {{ document.document_type|title }} ({{ document.file.name|split:"/"|last }})
    -
    - {% trans "Uploaded:" %} {{document.uploaded_at|date:"d M Y" }} - - +
    + {% trans "Uploaded:" %} {{ document.uploaded_at|date:"d M Y" }} + +
  • {% empty %} @@ -694,41 +581,32 @@
- {% comment %}
+ {% comment %}

{% trans "Security & Preferences" %}

-
{% trans "Password - Security" %}
-

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

-
-
{% trans "Profile - Image" %}
-

{% trans "Update your profile picture to personalize your - account." %}

-
-
- {% trans "To delete your profile, please contact HR - support." %} +
+ {% trans "To delete your profile, please contact HR support." %}
{% endcomment %} @@ -741,119 +619,114 @@