{# UI/UX V2 Phase 1C — Consultant pilot navigation This component preserves the existing consultant portal URLs and visibility. It changes presentation only and does not grant access, change routes, or replace the consultant dashboard's existing AJAX content tabs. #} {% set _consultant_path = request.url.path %} {% set navigation_aria_label_v2 = 'Consultant workspace navigation' %} {% set navigation_items_v2 = [ { 'label': 'Dashboard', 'url': '/consultant/dashboard', 'visible': true, 'active': _consultant_path == '/consultant/dashboard' }, { 'label': 'Work', 'url': '/consultant/work', 'visible': true, 'active': _consultant_path.startswith('/consultant/work') or _consultant_path.startswith('/consultant/assignments') }, { 'label': 'Messages', 'url': '/consultant/communications', 'visible': true, 'active': _consultant_path.startswith('/consultant/communications') }, { 'label': 'Documents', 'url': '/consultant/documents', 'visible': true, 'active': _consultant_path.startswith('/consultant/documents') }, { 'label': 'Service Requests', 'url': '/consultant/service-requests', 'visible': true, 'active': _consultant_path.startswith('/consultant/service-requests') }, { 'label': 'Managed Clients', 'url': '/consultant/managed-clients', 'visible': true, 'active': _consultant_path.startswith('/consultant/managed-clients') }, { 'label': 'Workspace', 'url': '/consultant/workspace', 'visible': true, 'active': _consultant_path.startswith('/consultant/workspace') }, { 'label': 'Profile', 'url': '/consultant/profile', 'visible': true, 'active': _consultant_path.startswith('/consultant/profile') }, { 'label': 'Alerts', 'url': '/alerts', 'visible': true, 'active': _consultant_path.startswith('/alerts'), 'badge': unread_alert_count if unread_alert_count is defined and unread_alert_count > 0 else none } ] %}
{% include "ui/templates/components/navigation_v2.html" %} {% include "ui/templates/components/mobile_navigation_v2.html" %}