{% block extra_css %}{% endblock %}
{% if current_user.is_authenticated %}
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
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 %} {# Both customer-side roles get the Support menu — a Customer Inspector works at the customer's facilities and has the same questions. The assistant answers them for their own role (see _role addendum in routes/support.py). #} {% if current_user.is_customer_account %}
Support
Ask a Question
My Conversations
My Requests
{% endif %} {% if current_user.role == 'admin' %} {% set admin_active = request.endpoint and ( request.endpoint.startswith('audit.') or request.endpoint == 'auth.notification_matrix' or request.endpoint.startswith('broadcast.') or request.endpoint.startswith('devices.') or request.endpoint.startswith('enrollment.') or (request.endpoint.startswith('auth.') and 'user' in request.endpoint) ) %}
Admin
Users
Audit Trail
Notification Matrix
Broadcast
Devices
Enrollment Forms
{% 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
{# ── Design switcher (classic → modern) ── #}
Try the New Design
Logout
{% endif %}
{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %} {% for category, message in messages %}
{{ message }}
{% endfor %} {% endif %} {% endwith %} {% block content %}{% endblock %}
{% block extra_js %}{% endblock %} {% if current_user.is_authenticated %} {% endif %}