fix(version): Sidebar-Copyright wird jetzt auch aus version.js befuellt
This commit is contained in:
@@ -199,7 +199,7 @@
|
||||
<div id="cal-list-items"></div>
|
||||
</div>
|
||||
</div>
|
||||
<button class="sidebar-copyright" onclick="openImpressum()">© 2026 Scarriffleservices · v18</button>
|
||||
<button class="sidebar-copyright" id="sidebar-copyright" onclick="openImpressum()">© 2026 Scarriffleservices</button>
|
||||
</aside>
|
||||
<div id="sidebar-backdrop" class="sidebar-backdrop"></div>
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
// Increment APP_VERSION with every code change
|
||||
export const APP_VERSION = 'v22';
|
||||
export const APP_VERSION = 'v23';
|
||||
|
||||
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user