changes to the sceduler for the test version with the right processing

This commit is contained in:
2026-09-07 23:08:46 +02:00
parent a0fa6bcc7a
commit a2a79be57b
4 changed files with 283 additions and 2 deletions
+10
View File
@@ -15,6 +15,16 @@
<p><strong>Subdomain:</strong> {{ instance.subdomain }}</p>
<p><strong>Status:</strong> {{ instance.status }}</p>
<p><strong>Zugang:</strong> <a href="https://{{ instance.domain }}" target="_blank" rel="noopener noreferrer">https://{{ instance.domain }}</a></p>
{% if instance.is_trial %}
<p><strong>Testversion:</strong> aktiv bis {{ instance.expires_at }}</p>
{% if instance.trial_state == "active" and not instance.upgrade_requested %}
<form method="post" action="{{ url_for('request_trial_upgrade') }}" style="margin-top: 1rem;">
<button type="submit">Auf reguläre Lizenz upgraden</button>
</form>
{% elif instance.upgrade_requested %}
<p>Ihre Upgrade-Anfrage wird vom Team bearbeitet.</p>
{% endif %}
{% endif %}
{% elif pending_request %}
<div style="background-color: #f8f9fa; border-left: 4px solid #007bff; padding: 1rem; margin-top: 1rem;">
<p><strong>Ihre Instanz wird gerade eingerichtet!</strong></p>