aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/templates/schedule-response-options.php
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2018-06-19 21:01:14 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-06-29 10:44:44 +0200
commit4aa4e4080c27356792b6eeab1f2f2b36ad485a05 (patch)
tree07197c21582d4e74cacce3704eaa5a67b5fb89bb /apps/dav/templates/schedule-response-options.php
parent3ff3141a1e4c9482ddaa68e13f545eb7e62ff9b7 (diff)
downloadnextcloud-server-4aa4e4080c27356792b6eeab1f2f2b36ad485a05.tar.gz
nextcloud-server-4aa4e4080c27356792b6eeab1f2f2b36ad485a05.zip
Include accept / decline links in CalDAV invitation emails
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'apps/dav/templates/schedule-response-options.php')
-rw-r--r--apps/dav/templates/schedule-response-options.php35
1 files changed, 35 insertions, 0 deletions
diff --git a/apps/dav/templates/schedule-response-options.php b/apps/dav/templates/schedule-response-options.php
new file mode 100644
index 00000000000..da95454e4f5
--- /dev/null
+++ b/apps/dav/templates/schedule-response-options.php
@@ -0,0 +1,35 @@
+<?php
+style('dav', 'schedule-response');
+//script('dav', 'schedule-response');
+?>
+
+<div class="update">
+ <form action="" method="post">
+ <fieldset id="partStat">
+ <h2><?php p($l->t('Are you accepting the invitation?')); ?></h2>
+ <div id="selectPartStatForm">
+ <input type="radio" id="partStatAccept" name="partStat" value="ACCEPTED" checked />
+ <label for="partStatAccept">
+ <span><?php p($l->t('Accept')); ?></span>
+ </label>
+
+ <input type="radio" id="partStatTentative" name="partStat" value="TENTATIVE" />
+ <label for="partStatTentative">
+ <span><?php p($l->t('Tentative')); ?></span>
+ </label>
+
+ <input type="radio" class="declined" id="partStatDeclined" name="partStat" value="DECLINED" />
+ <label for="partStatDeclined">
+ <span><?php p($l->t('Decline')); ?></span>
+ </label>
+ </div>
+ </fieldset>
+ <fieldset id="more_options">
+ <input type="number" min="0" name="guests" placeholder="Guests" />
+ <input type="text" name="comment" placeholder="Comment" />
+ </fieldset>
+ <fieldset>
+ <input type="submit" value="<?php p($l->t('Save'));?>">
+ </fieldset>
+ </form>
+</div>