diff --git a/.changes/unreleased/Feature-20251112-103224.yaml b/.changes/unreleased/Feature-20251112-103224.yaml new file mode 100644 index 000000000..44a7d4c60 --- /dev/null +++ b/.changes/unreleased/Feature-20251112-103224.yaml @@ -0,0 +1,6 @@ +kind: Feature +body: Make a calendar item on the 'mes rendez-vous' page clickable. Clicking will navigate to the edit page of the calendar item. +time: 2025-11-12T10:32:24.916576945+01:00 +custom: + Issue: "461" + SchemaChange: No schema change diff --git a/src/Bundle/ChillCalendarBundle/Resources/public/vuejs/MyCalendarRange/App2.vue b/src/Bundle/ChillCalendarBundle/Resources/public/vuejs/MyCalendarRange/App2.vue index 6e3d5b61c..40c3200b9 100644 --- a/src/Bundle/ChillCalendarBundle/Resources/public/vuejs/MyCalendarRange/App2.vue +++ b/src/Bundle/ChillCalendarBundle/Resources/public/vuejs/MyCalendarRange/App2.vue @@ -108,9 +108,12 @@ {{ formatDate(event.endStr, "time") }}: {{ event.extendedProps.locationName }} - {{ - event.title - }} + + {{ event.title }} + no 'is' { + const idStr = calendarId.match(/_(\d+)$/)?.[1]; + + return `/fr/calendar/calendar/${idStr}/edit`; +}; + onMounted(() => { copyFromWeek.value = dateToISO(getMonday(0)); copyToWeek.value = dateToISO(getMonday(1));