[UPDT] BASE: Updated base app by adding NO_PERMISSION_MODALS varriable to context on def employee_permission_assign(request) function

This commit is contained in:
Horilla
2025-05-01 17:40:30 +05:30
parent 66354373b6
commit f8f3a4f3c9
4 changed files with 39 additions and 33 deletions

View File

@@ -3,7 +3,10 @@
<div class="oh-tabs__contents">
<div class="oh-tabs__content oh-tabs__content--active" id="tab_1_permission">
{% if employee %}
{% include "base/auth/permission_accordion.html" %}
<div class="oh-inner-sidebar-content__header d-flex justify-content-between align-items-center">
<h2 class="oh-inner-sidebar-content__title">{% trans "Employee Permissions" %}</h2>
</div>
{% include "base/auth/permission_lines.html" %}
{% else %}
{% include "base/auth/permission_table.html" %}
{% endif %}