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:
@@ -0,0 +1 @@
|
||||
1.0.0
|
||||
@@ -90,7 +90,7 @@
|
||||
</a>
|
||||
</div>
|
||||
<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>
|
||||
</aside>
|
||||
|
||||
@@ -35,6 +35,7 @@
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary btn-block" style="margin-top:6px;">Anmelden</button>
|
||||
</form>
|
||||
<div style="margin-top:16px; font-size:10.5px; color:var(--text-faint); text-align:center;">TESM v{{ tesm_version }}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user