From 362cc7212c4e6fed37b81115ae2ef029441c33fd Mon Sep 17 00:00:00 2001 From: Scarriffle Date: Tue, 19 May 2026 10:22:13 +0200 Subject: [PATCH] fix(version): Sidebar-Copyright wird jetzt auch aus version.js befuellt --- frontend/index.html | 2 +- frontend/js/calendar.js | 2 ++ frontend/js/version.js | 2 +- frontend/sw.js | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/frontend/index.html b/frontend/index.html index 0a7569a..5b030f8 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -199,7 +199,7 @@
- + diff --git a/frontend/js/calendar.js b/frontend/js/calendar.js index 3d15ac5..8c4449e 100644 --- a/frontend/js/calendar.js +++ b/frontend/js/calendar.js @@ -14,6 +14,8 @@ document.title = `Calendarr ${APP_VERSION}`; document.addEventListener('DOMContentLoaded', () => { const imp = document.getElementById('impressum-version'); if (imp) imp.textContent = `Calendarr ${APP_VERSION}`; + const side = document.getElementById('sidebar-copyright'); + if (side) side.innerHTML = `© 2026 Scarriffleservices · ${APP_VERSION}`; }); // Fetch avatar image as blob URL (with auth header) diff --git a/frontend/js/version.js b/frontend/js/version.js index 7cd23f5..bb0b7ed 100644 --- a/frontend/js/version.js +++ b/frontend/js/version.js @@ -1,2 +1,2 @@ // Increment APP_VERSION with every code change -export const APP_VERSION = 'v22'; +export const APP_VERSION = 'v23'; diff --git a/frontend/sw.js b/frontend/sw.js index 4626683..79c4d88 100644 --- a/frontend/sw.js +++ b/frontend/sw.js @@ -7,7 +7,7 @@ // the entry HTML / version files). New releases take effect on the next // reload, no manual SW unregister required. -const CACHE_VERSION = 'calendarr-v22'; +const CACHE_VERSION = 'calendarr-v23'; const OFFLINE_SHELL = ['/', '/index.html']; self.addEventListener('install', event => {