Implement version check on load, if the footer has data-update-check=true,it fetches /api/version and sets the version badge. No request is made when update check is disabled.

This commit is contained in:
2026-02-02 20:46:55 +01:00
parent f00c1c1b22
commit b3e32fd5c1
11 changed files with 157 additions and 11 deletions

View File

@@ -390,6 +390,9 @@
"auth.logout": "Abmäudä",
"auth.user_info": "Benutzerinformationä",
"auth.session_expired": "Ihri Sitzig isch abglaufä. Bitte mäudä di erneut a.",
"auth.login_required": "Authentifizierig erforderlich"
"auth.login_required": "Authentifizierig erforderlich",
"footer.version": "Fail2ban-UI v{version}",
"footer.latest": "Aktuell",
"footer.update_available": "Update verfüegbar: v{version}"
}