Added filter functionality and combined both base.html
This commit is contained in:
@@ -17,6 +17,11 @@
|
||||
<body>
|
||||
<aside class="sidebar">
|
||||
{% block aside %}
|
||||
{% if user.user_type == 'AD' or user.user_type == 'EM' %}
|
||||
{% include 'employee-sidebar.html' %}
|
||||
{% elif user.user_type == 'CL' or user.user_type == 'CA' %}
|
||||
{% include 'client-sidebar.html' %}
|
||||
{% endif %}
|
||||
{% endblock aside %}
|
||||
</aside>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user