Compare commits
No commits in common. "780ffac2f6f81c58303ad2f53bbd66546cb3af97" and "61a2fedc74830437d50d71564b6a37fdac851d4d" have entirely different histories.
780ffac2f6
...
61a2fedc74
@ -573,6 +573,3 @@ CACHES = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
CSRF_TRUSTED_ORIGINS=["http://10.10.1.126","https://kaauh1.tenhal.sa",'http://127.0.0.1']
|
|
||||||
@ -41,7 +41,15 @@
|
|||||||
<i class="fas fa-th-large me-2"></i> <span>{% trans "Dashboard" %}</span>
|
<i class="fas fa-th-large me-2"></i> <span>{% trans "Dashboard" %}</span>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
<a class="nav-link-custom {% if 'message' in request.path %}active{% endif %}" href="{% url 'message_list' %}">
|
||||||
|
<i class="fas fa-envelope me-2"></i>
|
||||||
|
<span>{% trans "Messages" %}</span>
|
||||||
|
{% if request.user.get_unread_message_count > 0 %}
|
||||||
|
<span class="badge rounded-pill bg-danger ms-auto">
|
||||||
|
{{ request.user.get_unread_message_count }}
|
||||||
|
</span>
|
||||||
|
{% endif %}
|
||||||
|
</a>
|
||||||
|
|
||||||
<a class="nav-link-custom {% if 'job' in request.path and 'bank' not in request.path %}active{% endif %}" href="{% url 'job_list' %}">
|
<a class="nav-link-custom {% if 'job' in request.path and 'bank' not in request.path %}active{% endif %}" href="{% url 'job_list' %}">
|
||||||
<i class="fas fa-briefcase me-2"></i> <span>{% trans "Jobs" %}</span>
|
<i class="fas fa-briefcase me-2"></i> <span>{% trans "Jobs" %}</span>
|
||||||
@ -63,25 +71,10 @@
|
|||||||
<a class="nav-link-custom {% if 'interview' in request.path %}active{% endif %}" href="{% url 'interview_list' %}">
|
<a class="nav-link-custom {% if 'interview' in request.path %}active{% endif %}" href="{% url 'interview_list' %}">
|
||||||
<i class="fas fa-calendar-alt me-2"></i> <span>{% trans "Interviews" %}</span>
|
<i class="fas fa-calendar-alt me-2"></i> <span>{% trans "Interviews" %}</span>
|
||||||
</a>
|
</a>
|
||||||
|
<a class="nav-link-custom {% if request.resolver_match.url_name == 'kaauh_career' %}active{% endif %}" href="{% url 'kaauh_career' %}">
|
||||||
|
<i class="fas fa-globe me-2"></i> <span>{% trans "Career Page" %}</span>
|
||||||
|
</a>
|
||||||
|
|
||||||
<div class="mt-auto">
|
|
||||||
<div class="mt-4 pt-3 border-top border-secondary mx-3 uppercase">
|
|
||||||
{% comment %} <small class="text-white-50 px-2">{% trans "System" %}</small> {% endcomment %}
|
|
||||||
</div>
|
|
||||||
<a class="nav-link-custom {% if 'message' in request.path %}active{% endif %}" href="{% url 'message_list' %}">
|
|
||||||
<i class="fas fa-envelope me-2"></i>
|
|
||||||
<span>{% trans "Messages" %}</span>
|
|
||||||
{% if request.user.get_unread_message_count > 0 %}
|
|
||||||
<span class="badge rounded-pill bg-danger ms-auto">
|
|
||||||
{{ request.user.get_unread_message_count }}
|
|
||||||
</span>
|
|
||||||
{% endif %}
|
|
||||||
</a>
|
|
||||||
<a class="nav-link-custom {% if request.resolver_match.url_name == 'kaauh_career' %}active{% endif %}" href="{% url 'kaauh_career' %}">
|
|
||||||
<i class="fas fa-globe me-2"></i> <span>{% trans "Career Page" %}</span>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{% if request.user.is_authenticated and request.user.is_superuser %}
|
{% if request.user.is_authenticated and request.user.is_superuser %}
|
||||||
<div class="mt-auto">
|
<div class="mt-auto">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user