summaryrefslogtreecommitdiff
path: root/app/Template
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-05-18 21:04:06 -0400
committerFrederic Guillot <fred@kanboard.net>2015-05-18 21:04:06 -0400
commit6d5ffaa848dcbc09538f79cb0cdea08f5306f4a4 (patch)
tree2b782b7bc4b7f25cfa9021f7250450c7534f86cb /app/Template
parentdb95e96f92a15660dc043eb033a0f7737b59a030 (diff)
Send all Kanboard events to the webhook (breaking change)
Diffstat (limited to 'app/Template')
-rw-r--r--app/Template/comment/edit.php1
-rw-r--r--app/Template/config/webhook.php7
-rw-r--r--app/Template/user/show.php2
3 files changed, 4 insertions, 6 deletions
diff --git a/app/Template/comment/edit.php b/app/Template/comment/edit.php
index b4126a3e..2785fe62 100644
--- a/app/Template/comment/edit.php
+++ b/app/Template/comment/edit.php
@@ -7,6 +7,7 @@
<?= $this->formCsrf() ?>
<?= $this->formHidden('id', $values) ?>
<?= $this->formHidden('task_id', $values) ?>
+ <?= $this->formHidden('user_id', $values) ?>
<div class="form-tabs">
<ul class="form-tabs-nav">
diff --git a/app/Template/config/webhook.php b/app/Template/config/webhook.php
index d4f06d3f..06f7870b 100644
--- a/app/Template/config/webhook.php
+++ b/app/Template/config/webhook.php
@@ -6,11 +6,8 @@
<?= $this->formCsrf() ?>
- <?= $this->formLabel(t('Webhook URL for task creation'), 'webhook_url_task_creation') ?>
- <?= $this->formText('webhook_url_task_creation', $values, $errors) ?><br/>
-
- <?= $this->formLabel(t('Webhook URL for task modification'), 'webhook_url_task_modification') ?>
- <?= $this->formText('webhook_url_task_modification', $values, $errors) ?><br/>
+ <?= $this->formLabel(t('Webhook URL'), 'webhook_url') ?>
+ <?= $this->formText('webhook_url', $values, $errors) ?>
<div class="form-actions">
<input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>
diff --git a/app/Template/user/show.php b/app/Template/user/show.php
index 9473b382..1be39cc3 100644
--- a/app/Template/user/show.php
+++ b/app/Template/user/show.php
@@ -33,7 +33,7 @@
<div class="listing">
<ul class="no-bullet">
- <li><strong><i class="fa fa-calendar"></i> <?= $this->a(t('iCalendar (iCal format, *.ics)'), 'ical', 'user', array('token' => $user['token']), false, '', '', true) ?></strong></li>
+ <li><strong><i class="fa fa-calendar"></i> <?= $this->a(t('iCal feed'), 'ical', 'user', array('token' => $user['token']), false, '', '', true) ?></strong></li>
</ul>
</div>
<?php endif ?>