Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2017-10-20 14:29:59 +0300
committerGeorg Ehrke <developer@georgehrke.com>2017-11-09 19:12:06 +0300
commit8b22bfea4f1609605c3cebd40a50ed7a77929d3f (patch)
tree92908a37e88227f798938f4b691b7346825b7314 /apps/dav/templates
parentc7e5bc0f9ab6f58bf9a47dd0c3795e1183419652 (diff)
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.php8
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>