added 'add reservation'/'reservation not allowed' tooltips in calendar

This commit is contained in:
adisposkofh
2026-05-27 15:35:45 +02:00
parent 8e569a9ccd
commit fc79f92796
2 changed files with 44 additions and 0 deletions
@@ -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')"
>
<div class="fhc-calendar-empty-slot-plus">
<i v-if="this.reservierbarMap?.[date.toISODate()]" class="fa-solid fa-plus"></i>
+40
View File
@@ -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(