From d70f325babaaf64b550a532eced4dec0921988d8 Mon Sep 17 00:00:00 2001 From: A R R R Associates Date: Fri, 10 Jul 2026 18:04:56 +0530 Subject: [PATCH] Keep Partner navigation visible in shared modules --- app/modules/billing/templates/billing/list.html | 5 +++++ app/modules/documents/templates/documents/index.html | 5 +++++ .../services/templates/services/engagements/list.html | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/app/modules/billing/templates/billing/list.html b/app/modules/billing/templates/billing/list.html index 7e32686..8b02907 100644 --- a/app/modules/billing/templates/billing/list.html +++ b/app/modules/billing/templates/billing/list.html @@ -1,6 +1,11 @@ {% extends "ui/templates/base/layout.html" %} {% block content %}
+ {# 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 %}

Billing Invoices

diff --git a/app/modules/documents/templates/documents/index.html b/app/modules/documents/templates/documents/index.html index 22c8f73..fbf8658 100644 --- a/app/modules/documents/templates/documents/index.html +++ b/app/modules/documents/templates/documents/index.html @@ -1,6 +1,11 @@ {% extends "ui/templates/base/layout.html" %} {% block content %}
+ {# 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 %}

Engagement Documents

diff --git a/app/modules/services/templates/services/engagements/list.html b/app/modules/services/templates/services/engagements/list.html index e575c15..8363fee 100644 --- a/app/modules/services/templates/services/engagements/list.html +++ b/app/modules/services/templates/services/engagements/list.html @@ -1,6 +1,11 @@ {% extends "ui/templates/base/layout.html" %} {% block content %}
+ {# 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 %}

Engagements