diff --git a/frontend/index.html b/frontend/index.html index 14ec8ac..fc89351 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -763,7 +763,8 @@

Kontakt
scarriffleservices@gmail.com

- diff --git a/frontend/js/calendar.js b/frontend/js/calendar.js index 6920d14..bd7c403 100644 --- a/frontend/js/calendar.js +++ b/frontend/js/calendar.js @@ -1,4 +1,4 @@ -import { api } from './api.js'; +import { api } from './api.js'; import { applyTheme, isToday, isSameDay, toLocalDatetimeInput, toDateInput, dateKey, dayOfWeek, weekStart } from './utils.js'; import { renderMonth } from './views/month.js'; import { renderWeek } from './views/week.js'; @@ -7,6 +7,7 @@ import { renderQuarter } from './views/quarter.js'; import { openColorPicker } from './color-picker.js'; import { openDatePicker, formatDtDisplay } from './date-picker.js'; import { t, setLang, getLang } from './i18n.js'; +import { APP_VERSION } from './version.js'; // Fetch avatar image as blob URL (with auth header) function fetchAvatarBlob() { @@ -63,6 +64,11 @@ export async function initCalendar() { setLang(settings.language || 'de'); applyTheme(settings); updateViewButtons(); + document.querySelectorAll('.sidebar-copyright, .impressum-link').forEach(el => { + el.innerHTML = `© 2026 Scarriffleservices · ${APP_VERSION}`; + }); + const impVer = document.getElementById('impressum-version'); + if (impVer) impVer.textContent = `Calendarr ${APP_VERSION}`; renderCalendarList(); renderMiniCal(); await fetchAndRender(); diff --git a/frontend/js/version.js b/frontend/js/version.js new file mode 100644 index 0000000..c3d71fe --- /dev/null +++ b/frontend/js/version.js @@ -0,0 +1,2 @@ +// Increment APP_VERSION with every code change +export const APP_VERSION = 'v1';