Files
JQC_multi_tenant/app/templates/billing/_billing_banner.html
T

28 lines
1.4 KiB
HTML

{% if billing_warning == 'past_due' %}
<div class="alert alert-warning alert-dismissible fade show d-flex align-items-center gap-2 mb-3" role="alert">
<i class="bi bi-exclamation-triangle-fill flex-shrink-0 fs-5"></i>
<div>
<strong>Payment past due.</strong>
Your most recent payment could not be processed. Please update your billing information
to avoid service interruption.
<a href="{{ url_for('billing.portal') }}" class="alert-link ms-1">Update Payment Method &rsaquo;</a>
</div>
<button type="button" class="btn-close ms-auto" data-bs-dismiss="alert" aria-label="Close"></button>
</div>
{% elif billing_warning == 'trial_ending' %}
<div class="alert alert-info alert-dismissible fade show d-flex align-items-center gap-2 mb-3" role="alert">
<i class="bi bi-hourglass-split flex-shrink-0 fs-5"></i>
<div>
<strong>Trial ending soon.</strong>
{% if trial_days_remaining is not none and trial_days_remaining <= 1 %}
Your free trial expires <strong>today</strong>.
{% else %}
Your free trial expires in <strong>{{ trial_days_remaining }} day{{ 's' if trial_days_remaining != 1 }}</strong>.
{% endif %}
Subscribe now to keep your workspace active.
<a href="{{ url_for('billing.subscribe') }}" class="alert-link ms-1">Subscribe &rsaquo;</a>
</div>
<button type="button" class="btn-close ms-auto" data-bs-dismiss="alert" aria-label="Close"></button>
</div>
{% endif %}