{% extends "panel/base.html" %} {% block title %}Health — JQC Control{% endblock %} {% block page_title %}System Health{% endblock %} {% block extra_css %} {% endblock %} {% block content %} {# ── Summary stat cards ── #}
{{ chain_head or '?' }}
| # | Slug / Name | Status | Plan | Subscription | Trial / Period | Stripe | Schema | Created | |
|---|---|---|---|---|---|---|---|---|---|
| {{ r.id }} |
{{ r.slug }}
{{ r.name }}
|
{{ r.status }} | {{ r.plan_name }} | {{ r.subscription_status or '—' }} {% if r.subscription_status == 'past_due' %} {% endif %} | {% if r.subscription_status == 'trial' and r.trial_ends_at %} {% if r.trial_expired %} Expired {% elif r.trial_days_left <= 3 %} {{ r.trial_days_left }}d left {% else %} {{ r.trial_ends_at.strftime('%Y-%m-%d') }} {% endif %} {% elif r.current_period_end %} {{ r.current_period_end.strftime('%Y-%m-%d') }} {% else %} — {% endif %} | {% if r.has_stripe %} {% else %} — {% endif %} | {% if r.schema_ok is none %} ? {% elif r.schema_ok %} {% else %} {{ (r.alembic_head or '?')[:10] }}… {% endif %} | {{ r.created_at.strftime('%Y-%m-%d') if r.created_at else '—' }} | Detail |
| No tenants. | |||||||||