summaryrefslogtreecommitdiffstats
path: root/apps/dav/src/views/CalDavSettings.vue
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/src/views/CalDavSettings.vue')
-rw-r--r--apps/dav/src/views/CalDavSettings.vue29
1 files changed, 28 insertions, 1 deletions
diff --git a/apps/dav/src/views/CalDavSettings.vue b/apps/dav/src/views/CalDavSettings.vue
index 10af947bd3d..f1d39abee42 100644
--- a/apps/dav/src/views/CalDavSettings.vue
+++ b/apps/dav/src/views/CalDavSettings.vue
@@ -57,7 +57,21 @@
{{ $t('dav', 'Notifications are sent via background jobs, so these must occur often enough.') }}
</em>
</p>
- <p>
+ <p class="indented">
+ <input id="caldavSendEventRemindersToSharedGroupMembers"
+ v-model="sendEventRemindersToSharedGroupMembers"
+ type="checkbox"
+ class="checkbox"
+ :disabled="!sendEventReminders">
+ <label for="caldavSendEventRemindersToSharedGroupMembers">
+ {{ $t('dav', 'Send reminder notifications to calendar sharees as well' ) }}
+ </label>
+ <br>
+ <em>
+ {{ $t('dav', 'Reminders are always sent to organizers and attendees.' ) }}
+ </em>
+ </p>
+ <p class="indented">
<input id="caldavSendEventRemindersPush"
v-model="sendEventRemindersPush"
type="checkbox"
@@ -70,6 +84,12 @@
</div>
</template>
+<style lang="scss" scoped>
+ .indented {
+ padding-left: 28px;
+ }
+</style>
+
<script>
import axios from '@nextcloud/axios'
import { generateUrl } from '@nextcloud/router'
@@ -118,6 +138,13 @@ export default {
sendEventReminders(value) {
OCP.AppConfig.setValue('dav', 'sendEventReminders', value ? 'yes' : 'no')
},
+ sendEventRemindersToSharedGroupMembers(value) {
+ OCP.AppConfig.setValue(
+ 'dav',
+ 'sendEventRemindersToSharedGroupMembers',
+ value ? 'yes' : 'no'
+ )
+ },
sendEventRemindersPush(value) {
OCP.AppConfig.setValue('dav', 'sendEventRemindersPush', value ? 'yes' : 'no')
},