Office365(subtask) Added location to event

This commit is contained in:
Matej Glasnák committed 2024-12-24 09:15:08 +01:00
commit 15177f1b78
180 files changed
+18719 -686

No files matched your search

@@ -15,8 +15,8 @@
</template>
<template v-else>
<v-tooltip :text="event.blocker?.approved ? 'Schválený' : 'Neschválený'" location="bottom">
<template v-slot:activator="{ props }">
<div v-bind="props">
<template v-slot:activator="{ props: activatorProps }">
<div v-bind="activatorProps">
<h3 class="text-inherit">{{ props.event?.blocker?.approved ? props.event?.blocker?.name : props.event?.blocker?.name + '*' }}</h3>
</div>
</template>
@@ -39,6 +39,16 @@
</template>
</v-tooltip>
</div>
<div v-if="['office365'].includes(event.type)" class="d-flex align-center mt-1">
<v-icon icon="mdi-pin-outline" size="small" />
<small v-if="props.event?.subtask.office365_location" class="ml-1">{{ props.event?.subtask.office365_location }}</small>
<v-tooltip v-else text="Miesto" location="bottom">
<template v-slot:activator="{ props }">
<small class="cursor-pointer ml-1" v-if="!props.event?.subtask?.office365_location" v-bind="props">{{ office365_location }}*</small>
</template>
</v-tooltip>
</div>
</div>
<div>