Rework upgrade needed and check upgrade too far as an error for the database

This commit is contained in:
2025-01-22 11:50:31 +01:00
parent a3e50e9b3c
commit b475bfe8d4
3 changed files with 25 additions and 12 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
<h5 class="border-bottom">Status</h5>
{% if database_exception %}<div class="alert alert-danger" role="alert">An exception occured while loading this page: {{ database_exception }}</div>{% endif %}
{% if database_error %}<div class="alert alert-danger" role="alert"><strong>Error:</strong> {{ database_error }}.</div>{% endif %}
{% if database_needs_upgrade %}
{% if database_upgrade_needed %}
<div class="alert alert-warning" role="alert">
<p>Your database needs to be upgraded.</p>
<hr>