diff options
author | Georg Ehrke <developer@georgehrke.com> | 2019-09-02 16:18:43 +0300 |
---|---|---|
committer | Georg Ehrke <developer@georgehrke.com> | 2019-09-02 16:18:43 +0300 |
commit | 88f6d1c20edf41bf581d973263a3749948ef4f4c (patch) | |
tree | bd554008994fba80047be2486ff377e1ada29240 /apps/dav/templates | |
parent | daf89e6b34515222b55bdd6bc32c9001664ac548 (diff) |
Make push notifications for calendar reminders opt-in
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'apps/dav/templates')
-rw-r--r-- | apps/dav/templates/settings-admin-caldav.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/dav/templates/settings-admin-caldav.php b/apps/dav/templates/settings-admin-caldav.php index ba55a884702..4c53e6421a7 100644 --- a/apps/dav/templates/settings-admin-caldav.php +++ b/apps/dav/templates/settings-admin-caldav.php @@ -93,4 +93,10 @@ script('dav', [ <br> <em><?php p($l->t('Notifications will be send through background jobs, so these need to happen often enough.')); ?></em> </p> + <p> + <input type="checkbox" name="caldav_send_reminders_notifications_push" id="caldavSendRemindersNotificationsPush" class="checkbox" + <?php ($_['send_reminders_notifications_push'] === 'yes') ? print_unescaped('checked="checked"') : null ?> + <?php ($_['send_reminders_notifications'] === 'yes') ? null : print_unescaped('disabled="disabled"') ?> /> + <label for="caldavSendRemindersNotificationsPush"><?php p($l->t('Enable notifications for events via push')); ?></label> + </p> </form> |