{% if tenant_branding %} {% endif %} {% block extra_css %}{% endblock %}
{% if current_user.is_authenticated %}
{% if tenant_branding and tenant_branding.logo_url %}
{% else %}
{% endif %} {{ tenant_branding.display_name if tenant_branding else 'Janitorial QC' }}
{% if unread_notification_count > 0 %}
{{ unread_notification_count if unread_notification_count <= 99 else '99+' }}
{% else %}
{% endif %}
Notifications
Mark all as read
Loading…
View all
Preferences
Dashboard
Reports
{% if current_user.role in ['admin', 'director', 'project_manager', 'auditor'] %}
Contracts
{% endif %}
Facilities
{% if current_user.role in ['admin', 'director'] %}
Templates
{% endif %}
Inspections
{% if current_user.role in ['admin', 'director', 'project_manager', 'auditor'] %}
Schedules
{% endif %}
Issues
{% if current_user.role in ['admin', 'director', 'auditor'] %}
Verify {% if pending_verification_count and pending_verification_count > 0 %}
{{ pending_verification_count }}
{% endif %}
{% endif %} {% if current_user.role in ['admin', 'director'] %}
Customers
{% endif %} {% if current_user.role in ['admin', 'director'] %}
Support {% if open_support_tickets_count > 0 %}
{{ open_support_tickets_count }}
{% endif %}
{% endif %} {% if current_user.role == 'customer' %}
Support
Ask a Question
My Conversations
My Requests
{% endif %} {% if current_user.role == 'admin' %} {% set admin_active = request.endpoint and ( (request.endpoint.startswith('auth.') and 'user' in request.endpoint) or request.endpoint.startswith('audit.') or request.endpoint == 'auth.notification_matrix' or request.endpoint.startswith('broadcast.') or request.endpoint.startswith('devices.') or request.endpoint.startswith('tenant_settings.') ) %}
Admin
Users
Audit Trail
Notification Matrix
Broadcast
Devices
Workspace Settings
{% endif %}
{% if unread_notification_count > 0 %}
{{ unread_notification_count if unread_notification_count <= 99 else '99+' }}
{% else %}
{% endif %}
Notifications
Mark all as read
Loading…
View all
Preferences
{{ current_user.username }}
My Profile
Notification Preferences
{# MT-16 — opt in to the sidebar design. POST so the switch is not a GET side effect; `next` returns the user to the page they were on. #}
Try the New Design
{% if current_user.role == 'admin' %}
Design Vote Tally
{% endif %}
Logout
{% endif %}
{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %} {% for category, message in messages %}
{{ message }}
{% endfor %} {% endif %} {% endwith %} {% include 'billing/_billing_banner.html' %} {% block content %}{% endblock %}
{% block extra_js %}{% endblock %} {% if current_user.is_authenticated %} {% endif %}