Files
arrr-erp/app/ui/templates/components/partner_navigation_v2.html
T
2026-07-10 17:39:51 +05:30

60 lines
1.7 KiB
HTML

{#
UI/UX V2 Phase 1D — Partner pilot navigation
Presentation-only replacement for the existing partner tab strip.
Existing URLs, route protection, dashboard content, forms and page actions
are unchanged.
#}
{% set _partner_path = request.url.path %}
{% set navigation_aria_label_v2 = 'Partner workspace navigation' %}
{% set navigation_items_v2 = [
{
'label': 'Dashboard',
'url': '/partner/dashboard',
'visible': true,
'active': _partner_path == '/partner/dashboard'
},
{
'label': 'Review Board',
'url': '/partner/reviews',
'visible': true,
'active': _partner_path.startswith('/partner/reviews')
},
{
'label': 'My Clients',
'url': '/partner/clients',
'visible': true,
'active': _partner_path.startswith('/partner/clients')
},
{
'label': 'Engagements',
'url': '/services/engagements',
'visible': true,
'active': _partner_path.startswith('/services/engagements')
},
{
'label': 'Documents',
'url': '/documents',
'visible': true,
'active': _partner_path.startswith('/documents')
},
{
'label': 'Billing',
'url': '/billing',
'visible': true,
'active': _partner_path.startswith('/billing')
},
{
'label': 'Alerts',
'url': '/alerts',
'visible': true,
'active': _partner_path.startswith('/alerts'),
'badge': unread_alert_count if unread_alert_count is defined and unread_alert_count > 0 else none
}
] %}
<div class="mb-6 overflow-hidden rounded-2xl border border-slate-200 bg-white shadow-soft" data-uiux-v2-pilot="partner">
{% include "ui/templates/components/navigation_v2.html" %}
{% include "ui/templates/components/mobile_navigation_v2.html" %}
</div>