Versionsnummer in der UI anzeigen (Login-Seite + Sidebar-Footer)

VERSION-Datei (neben app.py, wird von install.sh 1:1 nach /srv/tesm
mitkopiert) plus Context-Processor inject_tesm_version() -- die
zugehoerige app.py-Aenderung war bereits im vorherigen Commit
enthalten. Damit laesst sich der installierte Stand direkt in der
Oberflaeche ablesen, ohne Datei-Zeitstempel oder Commit-Hashes
vergleichen zu muessen.
This commit is contained in:
2026-08-13 23:56:32 +02:00
parent 0b9b92a228
commit d72db26a86
3 changed files with 3 additions and 1 deletions
+1
View File
@@ -0,0 +1 @@
1.0.0
+1 -1
View File
@@ -90,7 +90,7 @@
</a> </a>
</div> </div>
<div class="sidebar-copyright" style="padding:10px 20px 4px; font-size:10.5px; color:var(--text-faint); text-align:center;"> <div class="sidebar-copyright" style="padding:10px 20px 4px; font-size:10.5px; color:var(--text-faint); text-align:center;">
© {{ current_year }} TESM — TimEShepManager © {{ current_year }} TESM — TimEShepManager v{{ tesm_version }}
</div> </div>
</div> </div>
</aside> </aside>
+1
View File
@@ -35,6 +35,7 @@
</div> </div>
<button type="submit" class="btn btn-primary btn-block" style="margin-top:6px;">Anmelden</button> <button type="submit" class="btn btn-primary btn-block" style="margin-top:6px;">Anmelden</button>
</form> </form>
<div style="margin-top:16px; font-size:10.5px; color:var(--text-faint); text-align:center;">TESM v{{ tesm_version }}</div>
</div> </div>
</div> </div>