Aug 19 - Update: customer Inspector AI support chat

This commit is contained in:
2026-08-19 11:16:47 -04:00
parent 5df105a9d5
commit 070e9be993
4 changed files with 120 additions and 24 deletions
+5 -1
View File
@@ -199,7 +199,11 @@
</a>
</li>
{% endif %}
{% if current_user.role == 'customer' %}
{# 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 %}
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle {{ 'active' if request.endpoint and request.endpoint.startswith('support.') }}"
href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">