You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
69 lines
1.6 KiB
69 lines
1.6 KiB
<script setup>
|
|
import ShowLinks from "../resource_links/ShowLinks.vue"
|
|
import { subscriptionVisibility } from "../../constants/entity/ccalendarevent"
|
|
|
|
defineProps({
|
|
event: {
|
|
type: Object,
|
|
required: true,
|
|
},
|
|
})
|
|
</script>
|
|
|
|
<template>
|
|
<div class="invitations-info">
|
|
<h6
|
|
v-t="'Subscriptions'"
|
|
class="invitations-info__title"
|
|
/>
|
|
|
|
<div class="invitations-info__item">
|
|
<p v-t="'Allow subscriptions'" />
|
|
<p
|
|
v-if="subscriptionVisibility.no === event.subscriptionVisibility"
|
|
v-text="'No'"
|
|
/>
|
|
<p
|
|
v-else-if="subscriptionVisibility.all === event.subscriptionVisibility"
|
|
v-text="'All system users'"
|
|
/>
|
|
<p
|
|
v-else-if="subscriptionVisibility.class === event.subscriptionVisibility"
|
|
v-text="'Users inside the class'"
|
|
/>
|
|
<p
|
|
v-if="subscriptionVisibility.class === event.subscriptionVisibility"
|
|
v-text="event.subscriptionItemTitle"
|
|
/>
|
|
</div>
|
|
|
|
<div
|
|
v-if="event.maxAttendees"
|
|
class="invitations-info__item"
|
|
>
|
|
<p v-t="'Maximum number of subscriptions'" />
|
|
<p v-text="event.maxAttendees" />
|
|
</div>
|
|
|
|
<div
|
|
v-if="event.maxAttendees"
|
|
class="invitations-info__item"
|
|
>
|
|
<p v-t="'Subscriptions count'" />
|
|
<p v-text="event.resourceLinkListFromEntity.length" />
|
|
</div>
|
|
|
|
<div
|
|
v-if="event.resourceLinkListFromEntity.length"
|
|
class="invitations-info__item"
|
|
>
|
|
<p v-t="'Subscribers'" />
|
|
<div>
|
|
<ShowLinks
|
|
:item="event"
|
|
:show-status="false"
|
|
/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|