feat(web): link Impressum version to Gitea source repo

The version line in the Impressum footer ("Calendarr vNN") is now a
subtle link to the Calendarr Gitea repo (git.scarriffle.com), opening
in a new tab. Styled to stay muted at rest and reveal as a link on
hover. Bump APP_VERSION v87 -> v88.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Scarriffle
2026-07-20 17:01:20 +02:00
parent 37e5507261
commit 4c7cdc362a
3 changed files with 5 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ import { APP_VERSION } from './version.js';
document.title = 'Calendarr';
document.addEventListener('DOMContentLoaded', () => {
const imp = document.getElementById('impressum-version');
if (imp) imp.textContent = `Calendarr ${APP_VERSION}`;
if (imp) imp.innerHTML = `<a class="impressum-version-link" href="https://git.scarriffle.com/Scarriffle/Calendarr" target="_blank" rel="noopener noreferrer" title="Quelltext auf Gitea">Calendarr ${APP_VERSION}</a>`;
const side = document.getElementById('sidebar-copyright');
if (side) side.innerHTML = `©&nbsp;2026&nbsp;Scarriffleservices&nbsp;·&nbsp;${APP_VERSION}`;
});