Activate UIUX V2 navigation for manager and partner pilots
This commit is contained in:
@@ -0,0 +1,59 @@
|
||||
{#
|
||||
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>
|
||||
Reference in New Issue
Block a user