diff --git a/frontend/src/components/CalendarDay.vue b/frontend/src/components/CalendarDay.vue deleted file mode 100644 index 386c6f7c8..000000000 --- a/frontend/src/components/CalendarDay.vue +++ /dev/null @@ -1,281 +0,0 @@ - - - - - - - {{ t('label.allDay') }} - - - popup=showEventPopup(element, event, popupPosition)" - > - - {{ event.title }} - - - - - - - - {{ h }} - - - - !booking ? popup=showEventPopup(element, event, popupPosition) : null" - > - - - {{ event.title }} - - - - - - {{ event.times }} - - - - - - {{ event.calendar_title }} - - - - - - {{ bookingUrl + event.slug }} - - - - - - - {{ event.times }} - - - - - - - - - - diff --git a/frontend/src/components/CalendarMonth.vue b/frontend/src/components/CalendarMiniMonth.vue similarity index 97% rename from frontend/src/components/CalendarMonth.vue rename to frontend/src/components/CalendarMiniMonth.vue index 1ab69a0c4..4c2f9d3d6 100644 --- a/frontend/src/components/CalendarMonth.vue +++ b/frontend/src/components/CalendarMiniMonth.vue @@ -19,18 +19,16 @@ v-for="h in isoWeekdays" :key="h" class="bg-gray-100 py-2 text-center text-gray-500 dark:bg-gray-600 dark:text-gray-300" - :class="{ 'font-bold': !mini}" > {{ h.min }} - - - - - - - {{ d.day }} - - {{ d.weekday }} - - - - - {{ t('label.allDay') }} - - - popup=showEventPopup(element, event, popupPosition)" - > - - {{ event.title }} - - - - - - - - {{ h }} - - - - !booking ? popup=showEventPopup(element, event, popupPosition) : null" - > - - - {{ event.title }} - - - - - - {{ event.times }} - - - - - - - - - - diff --git a/frontend/src/elements/CalendarMiniMonthDay.vue b/frontend/src/elements/CalendarMiniMonthDay.vue new file mode 100644 index 000000000..71d3c1912 --- /dev/null +++ b/frontend/src/elements/CalendarMiniMonthDay.vue @@ -0,0 +1,45 @@ + + + + {{ dj(day).format('D') }} + + + + + + diff --git a/frontend/src/elements/CalendarMonthDay.vue b/frontend/src/elements/CalendarMonthDay.vue deleted file mode 100644 index 579564603..000000000 --- a/frontend/src/elements/CalendarMonthDay.vue +++ /dev/null @@ -1,136 +0,0 @@ - - - - {{ dj(day).format('D') }} - - - - showDetails ? popup=showEventPopup(element, event, popupPosition) : null" - > - - - {{ formattedTimeRange(event) }} - {{ event.title }} - - - - - - - - diff --git a/frontend/src/views/AppointmentsView.vue b/frontend/src/views/AppointmentsView.vue index 212b40ad5..c43268bec 100644 --- a/frontend/src/views/AppointmentsView.vue +++ b/frontend/src/views/AppointmentsView.vue @@ -174,9 +174,8 @@ - -