Keep Partner navigation visible in shared modules

This commit is contained in:
A R R R Associates
2026-07-10 18:04:56 +05:30
parent bd92cd773c
commit d70f325bab
3 changed files with 15 additions and 0 deletions
@@ -1,6 +1,11 @@
{% extends "ui/templates/base/layout.html" %}
{% block content %}
<div class="space-y-6">
{# UI/UX V2 Phase 1D.2 — preserve shared module behaviour; add Partner navigation only for Partner-role access. #}
{% set _uiux_partner_role_text = (current_user_roles or [])|join('|')|lower %}
{% if 'partner' in _uiux_partner_role_text %}
{% include "ui/templates/components/partner_navigation_v2.html" %}
{% endif %}
<div class="flex flex-wrap items-center justify-between gap-3">
<div>
<h2 class="text-xl font-semibold text-slate-900">Engagement Documents</h2>