Add app version display to login page and profile About card

Version is set via APP_VERSION in .env, defaulting to 1.0.0.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Rolf
2026-03-22 09:29:45 +01:00
parent c51c872c33
commit 4ae515bbab
4 changed files with 13 additions and 0 deletions
+1
View File
@@ -3,3 +3,4 @@ from fastapi.templating import Jinja2Templates
templates = Jinja2Templates(directory="app/templates")
templates.env.globals["admin_email"] = os.getenv("ADMIN_EMAIL", "")
templates.env.globals["app_version"] = os.getenv("APP_VERSION", "1.0.0")