summaryrefslogtreecommitdiffstats
path: root/apps/dav/src
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/src')
-rw-r--r--apps/dav/src/settings.js4
-rw-r--r--apps/dav/src/views/CalDavSettings.vue29
2 files changed, 32 insertions, 1 deletions
diff --git a/apps/dav/src/settings.js b/apps/dav/src/settings.js
index a81e11c5257..6744f22ad23 100644
--- a/apps/dav/src/settings.js
+++ b/apps/dav/src/settings.js
@@ -16,6 +16,10 @@ const CalDavSettingsView = new View({
'generateBirthdayCalendar'
),
sendEventReminders: loadState('dav', 'sendEventReminders'),
+ sendEventRemindersToSharedGroupMembers: loadState(
+ 'dav',
+ 'sendEventRemindersToSharedGroupMembers'
+ ),
sendEventRemindersPush: loadState('dav', 'sendEventRemindersPush'),
}
},
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')
},