{% block actions %}{% endblock actions %}
{% comment %}
Native / disclosure -- no JS needed for a menu this small.
Only the account/system info on the right, grouped with the status indicator.
{% endcomment %}
{% comment %}
Real, not decorative. Three states, most severe wins: maintenance (reflects
features.models.Maintenance, the same switch the Features tab's "Close the
platform" action controls) beats recent job failures (failed_jobs, from
controlpanel.context_processors.job_health -- see features/models.JobRun)
beats "all systems ok". Links to where you'd go to do something about it.
{% endcomment %}
{% if maintenance_on %}
maintenance mode
{% elif failed_jobs %}
{{ failed_jobs|length }} job failure{{ failed_jobs|length|pluralize }}
{% else %}
disclosure -- no JS needed for a menu this small.
Only the account/system info on the right, grouped with the status indicator.
{% endcomment %}
{% comment %}
Real, not decorative. Three states, most severe wins: maintenance (reflects
features.models.Maintenance, the same switch the Features tab's "Close the
platform" action controls) beats recent job failures (failed_jobs, from
controlpanel.context_processors.job_health -- see features/models.JobRun)
beats "all systems ok". Links to where you'd go to do something about it.
{% endcomment %}
{% if maintenance_on %}
maintenance mode
{% elif failed_jobs %}
{{ failed_jobs|length }} job failure{{ failed_jobs|length|pluralize }}
{% else %}
all systems ok
{% endif %}
{% block breadcrumb %}control{% endblock breadcrumb %}
{% block strip_right %}{% endblock strip_right %}
{% if maintenance_on %}
{% lucide "wrench" size=18 class="shrink-0" %}
{% endif %}
{% if messages %}
Platform closed for maintenance.
Every club subdomain serves a maintenance page, and the scheduled jobs stand down.
Reopen it
{% for message in messages %}
{% with alert=message|as_alert %}
{% endif %}
{% block panel %}{% endblock panel %}
{% lucide alert.icon size=18 %}
{% endwith %}
{% endfor %}
{{ alert.title }}
{{ alert.body }}