small ui enhancement
This commit is contained in:
parent
1253b86b02
commit
8c13bccd87
6
.env
6
.env
@ -1,3 +1,3 @@
|
|||||||
DB_NAME=norahuniversity
|
DB_NAME=haikal_db
|
||||||
DB_USER=norahuniversity
|
DB_USER=faheed
|
||||||
DB_PASSWORD=norahuniversity
|
DB_PASSWORD=Faheed@215
|
||||||
@ -440,7 +440,7 @@ urlpatterns = [
|
|||||||
name="applicant_portal_dashboard",
|
name="applicant_portal_dashboard",
|
||||||
),
|
),
|
||||||
path(
|
path(
|
||||||
"applications/applications/<slug:slug>/",
|
"applications/application/<slug:slug>/",
|
||||||
views.applicant_application_detail,
|
views.applicant_application_detail,
|
||||||
name="applicant_application_detail",
|
name="applicant_application_detail",
|
||||||
),
|
),
|
||||||
|
|||||||
@ -322,21 +322,25 @@
|
|||||||
{% comment %} <li class="nav-item">
|
{% comment %} <li class="nav-item">
|
||||||
<a class="nav-link text-secondary" href="{% url 'applicant_profile' %}">{% trans "Applications" %}</a>
|
<a class="nav-link text-secondary" href="{% url 'applicant_profile' %}">{% trans "Applications" %}</a>
|
||||||
</li> {% endcomment %}
|
</li> {% endcomment %}
|
||||||
{% if request.user.user_type == 'candidate' and request.user.is_authenticated and request.user.profile_image.url %}
|
|
||||||
<a href="{% url 'applicant_portal_dashboard' %}">
|
|
||||||
|
|
||||||
|
<li class="nav-item mx-2 mb-1">
|
||||||
|
{% if request.user.user_type == 'candidate' and request.user.is_authenticated and request.user.profile_image.url %}
|
||||||
|
<a href="{% url 'applicant_portal_dashboard' %}" class="mx-2">
|
||||||
<img src="{{ request.user.profile_image.url }}" alt="{{ user.username }}" class="profile-avatar"
|
<img src="{{ request.user.profile_image.url }}" alt="{{ user.username }}" class="profile-avatar"
|
||||||
style="width: 50px; height: 50px; object-fit: cover; background-color: var(--kaauh-teal); display: inline-block; vertical-align: middle; border-radius: 50%;"
|
style="width: 50px; height: 50px; object-fit: cover; background-color: var(--kaauh-teal); display: inline-block; vertical-align: middle; border-radius: 50%;"
|
||||||
title="{% trans 'Your account' %}">
|
title="{% trans 'Your account' %}">
|
||||||
</a>
|
</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<li class="nav-item">
|
<a class="nav-link text-primary-theme" href="{% url 'applicant_portal_dashboard' %}">{% trans "Profile" %}</a>
|
||||||
<a class="nav-link text-secondary" href="{% url 'applicant_portal_dashboard' %}">{% trans "Profile" %}</a>
|
{% endif %}
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
<li class="nav-item mx-2 mb-1">
|
||||||
<li class="nav-item">
|
<a class="nav-link text-secondary text-primary-theme" href="{% url 'kaauh_career' %}">{% trans "Careers" %}</a>
|
||||||
<a class="nav-link text-secondary" href="{% url 'kaauh_career' %}">{% trans "Careers" %}</a>
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
||||||
<li class="nav-item dropdown">
|
<li class="nav-item dropdown">
|
||||||
<button class="language-toggle-btn dropdown-toggle" type="button"
|
<button class="language-toggle-btn dropdown-toggle" type="button"
|
||||||
data-bs-toggle="dropdown" data-bs-offset="0, 8" aria-expanded="false"
|
data-bs-toggle="dropdown" data-bs-offset="0, 8" aria-expanded="false"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user