diff options
author | Georg Ehrke <developer@georgehrke.com> | 2017-10-20 13:29:59 +0200 |
---|---|---|
committer | Georg Ehrke <developer@georgehrke.com> | 2017-11-09 17:12:06 +0100 |
commit | 8b22bfea4f1609605c3cebd40a50ed7a77929d3f (patch) | |
tree | 92908a37e88227f798938f4b691b7346825b7314 /apps/dav/templates | |
parent | c7e5bc0f9ab6f58bf9a47dd0c3795e1183419652 (diff) | |
download | nextcloud-server-8b22bfea4f1609605c3cebd40a50ed7a77929d3f.tar.gz nextcloud-server-8b22bfea4f1609605c3cebd40a50ed7a77929d3f.zip |
Add admin checkbox to disable birthday calendars
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'apps/dav/templates')
-rw-r--r-- | apps/dav/templates/settings-admin-caldav.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/dav/templates/settings-admin-caldav.php b/apps/dav/templates/settings-admin-caldav.php index 8dbe5b38412..a3e3188fb4f 100644 --- a/apps/dav/templates/settings-admin-caldav.php +++ b/apps/dav/templates/settings-admin-caldav.php @@ -37,4 +37,12 @@ script('dav', [ <br> <em><?php p($l->t('Please make sure to properly set up the email settings above.')); ?></em> </p> + <p> + <input type="checkbox" name="caldav_generate_birthday_calendar" id="caldavGenerateBirthdayCalendar" class="checkbox" + <?php ($_['generate_birthday_calendar'] === 'yes') ? print_unescaped('checked="checked"') : null ?>/> + <label for="caldavGenerateBirthdayCalendar"><?php p($l->t('Automatically generate a birthday calendar')); ?></label> + <br> + <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> </form> |