summaryrefslogtreecommitdiff
path: root/app/Templates
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-07-21 20:32:12 -0230
committerFrédéric Guillot <fred@kanboard.net>2014-07-21 20:32:12 -0230
commit9e1dcf21dc5d65bcc4195f1ae4caedbe57835415 (patch)
tree7fa9a2a08e24de7d16c0196b61e7c1bf8540f486 /app/Templates
parent4ae655ced334bb48342274caaf15f2b3d8b444f6 (diff)
Improve webhooks to call external url on task creation/modification
Diffstat (limited to 'app/Templates')
-rw-r--r--app/Templates/config_index.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/Templates/config_index.php b/app/Templates/config_index.php
index b242d16f..91919776 100644
--- a/app/Templates/config_index.php
+++ b/app/Templates/config_index.php
@@ -15,6 +15,12 @@
<?= Helper\form_label(t('Timezone'), 'timezone') ?>
<?= Helper\form_select('timezone', $timezones, $values, $errors) ?><br/>
+ <?= Helper\form_label(t('Webhook URL for task creation'), 'webhooks_url_task_creation') ?>
+ <?= Helper\form_text('webhooks_url_task_creation', $values, $errors) ?><br/>
+
+ <?= Helper\form_label(t('Webhook URL for task modification'), 'webhooks_url_task_modification') ?>
+ <?= Helper\form_text('webhooks_url_task_modification', $values, $errors) ?><br/>
+
<div class="form-actions">
<input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>
</div>