{#- Standing auth alert (prearm-login-station, piece 3). Rendered by both the page shell and the polled partial: the shell shows it the instant the page paints, the partial keeps it current on every 15s swap. A standing banner, never a transient toast — an operator who was asleep when the session died must still see it at a glance. -#} {% if auth_alert and (auth_alert.login_required or auth_alert.stale) %}

⚠ {{ t('{n} 个身份需登录').format(n=auth_alert.login_required) }} · {{ t('{n} 个身份会话可能已过期').format(n=auth_alert.stale) }} — {{ t('点下方「登录」拉起登录站。') }}

{% endif %}