{% if user_theme and user_theme != 'default' %}
{% endif %} {% block head %}{% endblock %}
{% if deployment.name and not deployment.is_production %}
{{ deployment.name|upper }}
{% endif %}
LSMC
atlas
Dashboard
TRFs
Shipments
Results
Search
Graph
Manage ▾
Patients
Families
Clinicians
{% if user and user.can_write %}
TestKits
{% endif %}
Documents
My Organization
{% if user and user.is_internal %}
LSMC ▾
Analysis ↗
LIMS ↗
Bloom ↗
TapDB GUI
Accessioning Workbench
Minimal Accessioning
Intake Scan & Match
Intake Print Labels
Intake Exceptions
{% endif %}
Support
{% if user and user.is_admin %}
Admin
{% endif %}
{% if user %}
{% if user.roles %} {% for role in user.roles %} {% if role == 'ADMIN' %}
🛡️
{% elif role == 'INTERNAL_USER' %}
🔬
{% elif role == 'EXTERNAL_USER' %}
👤
{% elif role == 'READ_ONLY' %}
👁️
{% endif %} {% endfor %} {% else %} {# Fallback to legacy single indicator #} {% if user.is_admin %}
🛡️
{% elif user.is_internal %}
🔬
{% else %}
👤
{% endif %} {% endif %}
{{ user.email }}
Logout
{% else %}
Login
{% endif %}
{% if flash_messages %}
{% for category, message in flash_messages %}
{{ message }}
×
{% endfor %}
{% endif %}
{% block content %}{% endblock %}
{% block scripts %}{% endblock %}