diff --git a/public/js/components/Calendar/Base/Grid.js b/public/js/components/Calendar/Base/Grid.js
index f52cd2509..91f954d35 100644
--- a/public/js/components/Calendar/Base/Grid.js
+++ b/public/js/components/Calendar/Base/Grid.js
@@ -329,6 +329,9 @@ export default {
return !dayEvents.some(ev => ev.start < end && ev.end > start);
}
},
+ created() {
+ this.$p.loadCategory(["LvPlan"]);
+ },
beforeUnmount() {
this.disableAutoScroll();
},
@@ -425,6 +428,7 @@ export default {
class="fhc-calendar-empty-slot"
style="position:absolute; inset:0; z-index:1"
v-cal-click:slot="{ date, part }"
+ :title="this.reservierbarMap?.[date.toISODate()] ? $p.t('LvPlan/add_reservation') : $p.t('LvPlan/reservation_not_allowed')"
>
diff --git a/system/phrasesupdate.php b/system/phrasesupdate.php
index a2d0364cd..ec35a0718 100644
--- a/system/phrasesupdate.php
+++ b/system/phrasesupdate.php
@@ -29924,6 +29924,46 @@ array(
)
)
),
+ array(
+ 'app' => 'core',
+ 'category' => 'LvPlan',
+ 'phrase' => 'add_reservation',
+ 'insertvon' => 'system',
+ 'phrases' => array(
+ array(
+ 'sprache' => 'German',
+ 'text' => 'Reservierung hinzufügen',
+ 'description' => '',
+ 'insertvon' => 'system'
+ ),
+ array(
+ 'sprache' => 'English',
+ 'text' => 'Add reservation',
+ 'description' => '',
+ 'insertvon' => 'system'
+ )
+ )
+ ),
+ array(
+ 'app' => 'core',
+ 'category' => 'LvPlan',
+ 'phrase' => 'reservation_not_allowed',
+ 'insertvon' => 'system',
+ 'phrases' => array(
+ array(
+ 'sprache' => 'German',
+ 'text' => 'Reservierung nicht erlaubt',
+ 'description' => '',
+ 'insertvon' => 'system'
+ ),
+ array(
+ 'sprache' => 'English',
+ 'text' => 'Reservation not allowed',
+ 'description' => '',
+ 'insertvon' => 'system'
+ )
+ )
+ ),
// LvPlan Phrasen ende
//ProfilUpdate Phrasen start
array(