diff --git a/frontend/js/calendar.js b/frontend/js/calendar.js index 8939139..cae15ea 100644 --- a/frontend/js/calendar.js +++ b/frontend/js/calendar.js @@ -729,9 +729,12 @@ function renderCalendarList() { }); state.localCalendars.filter(c => c.owned === false && !c.group).forEach(cal => { const readOnly = cal.permission !== 'read_write'; + // A shared calendar is shown to the recipient under the OWNER's name + // (e.g. Guido's "Persönlich" appears as "Guido"); the original calendar + // name stays in the sub-label so it's still identifiable. entries.push({ key: `local:${cal.id}`, source: 'local', dataId: `data-cal-id="${cal.id}"`, - name: cal.name, color: cal.color, enabled: cal.enabled, - sourceLabel: `${t('shared_with_me')} · ${cal.shared_by || ''}${readOnly ? ' · ' + t('perm_read') : ''}`, remove: null }); + name: cal.shared_by || cal.name, color: cal.color, enabled: cal.enabled, + sourceLabel: `${t('shared_with_me')} · ${cal.name}${readOnly ? ' · ' + t('perm_read') : ''}`, remove: null }); }); // Group calendars (owned by the creator or reached via membership) — shown so // they can be toggled/recoloured. Owned group calendars can also be muted @@ -3455,8 +3458,8 @@ function renderCalendarTable() { const canWrite = owned || cal.permission === 'read_write'; const pub = !!cal.caldav_published; rows += ` - ${dot(cal.color, '#34a853')}${escHtml(cal.name)} - Lokal + ${dot(cal.color, '#34a853')}${escHtml(owned ? cal.name : (cal.shared_by || cal.name))} + ${owned ? 'Lokal' : 'Geteilt · ' + escHtml(cal.name)} — ${owned ? rem('local', cal.id, cal.reminders_enabled !== false) : '—'} diff --git a/frontend/js/version.js b/frontend/js/version.js index 4888d28..ffa524b 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 = 'v69'; +export const APP_VERSION = 'v70';