Jun 28 - Update tenant self-service signup, trial period enforcement

This commit is contained in:
2026-06-28 18:51:04 -04:00
parent e6b5be8c4d
commit 54fa5b8c87
7 changed files with 415 additions and 30 deletions
@@ -9,4 +9,19 @@
</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 %}