diff --git a/templates/portal_base.html b/templates/portal_base.html index 46d53d7..30fcb0e 100644 --- a/templates/portal_base.html +++ b/templates/portal_base.html @@ -93,8 +93,26 @@ {% trans "Dashboard" %} + {% endif %} + + {% if request.user.is_authenticated %} + + {% endif %} + + + - {% endif %} - - - - - {% comment %} {% endcomment %} - + {# Tab Content #} -
+
@@ -354,23 +480,27 @@ {% 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:"" }}
@@ -381,21 +511,24 @@ {% trans "Contact Information" %}
@@ -432,117 +568,89 @@
- - {% comment %}
- - {% trans "Use the 'Update Profile' button above to edit these details." %} -
{% endcomment %} - - {% comment %}
{% endcomment %} - - {% comment %}

{% trans "Quick Actions" %}

-
-
- - - {% trans "Track Jobs" %} - {% trans "View stages" %} - -
-
- - - {% trans "Manage Documents" %} - {% trans "Upload/View files" %} - -
-
- - - {% trans "Find New Careers" %} - {% trans "Explore open roles" %} - -
-
{% 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 "Status" %} - {% if application.is_active %} - {% trans "Active" %} - {% else %} - {% trans "Closed" %} - {% endif %} -
+ +
+
+ {% trans "Current Stage" %} + + {{ application.stage }} +
+
+ {% 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 %}
@@ -551,7 +659,9 @@

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

- @@ -560,15 +670,18 @@ {# 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 %} @@ -581,32 +694,41 @@
- {% 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 %} @@ -619,114 +741,119 @@