aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/templates
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2019-03-16 16:19:25 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2019-08-15 20:02:56 +0200
commit7bddcc091d5fe0f5e01325e16524d44fe8c1fb74 (patch)
tree6af37e4e745f5816292a2c496d34b12afe95440e /apps/dav/templates
parentf452e23a7db1742afa50eaa80b746afe769bdf7b (diff)
downloadnextcloud-server-7bddcc091d5fe0f5e01325e16524d44fe8c1fb74.tar.gz
nextcloud-server-7bddcc091d5fe0f5e01325e16524d44fe8c1fb74.zip
Support event reminders (email and notifications)
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'apps/dav/templates')
-rw-r--r--apps/dav/templates/settings-admin-caldav.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/apps/dav/templates/settings-admin-caldav.php b/apps/dav/templates/settings-admin-caldav.php
index 87b159923d2..ba55a884702 100644
--- a/apps/dav/templates/settings-admin-caldav.php
+++ b/apps/dav/templates/settings-admin-caldav.php
@@ -72,4 +72,25 @@ script('dav', [
<em><?php p($l->t('Birthday calendars will be generated by a background job.')); ?></em><br>
<em><?php p($l->t('Hence they will not be available immediately after enabling but will show up after some time.')); ?></em>
</p>
+ <p>
+ <input type="checkbox" name="caldav_send_reminders_notifications" id="caldavSendRemindersNotifications" class="checkbox"
+ <?php ($_['send_reminders_notifications'] === 'yes') ? print_unescaped('checked="checked"') : null ?>/>
+ <label for="caldavSendRemindersNotifications"><?php p($l->t('Send notifications for events')); ?></label>
+ <br>
+ <em>
+ <?php print_unescaped(str_replace(
+ [
+ '{emailopen}',
+ '{linkclose}',
+ ],
+ [
+ '<a href="../admin#mail_general_settings">',
+ '</a>',
+ ],
+ $l->t('Please make sure to properly set up {emailopen}the email server{linkclose}.')
+ )); ?>
+ </em>
+ <br>
+ <em><?php p($l->t('Notifications will be send through background jobs, so these need to happen often enough.')); ?></em>
+ </p>
</form>