Jun 28 - Update tenant self-service signup, trial period enforcement
This commit is contained in:
@@ -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 ›</a>
|
||||
</div>
|
||||
<button type="button" class="btn-close ms-auto" data-bs-dismiss="alert" aria-label="Close"></button>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user