summaryrefslogtreecommitdiff
path: root/app/Template/config/integrations.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-03-29 13:51:51 -0400
committerFrederic Guillot <fred@kanboard.net>2015-03-29 13:51:51 -0400
commit7cbae61dbddefb98f1c5b412d8d72bf5ad883ac9 (patch)
tree52b93d5d6b44746b378e458978ffefb65a5a17a3 /app/Template/config/integrations.php
parent5536f6c6ce591ba05a169d2e33b6fb240378d8a4 (diff)
Add Hipchat integration
Diffstat (limited to 'app/Template/config/integrations.php')
-rw-r--r--app/Template/config/integrations.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/app/Template/config/integrations.php b/app/Template/config/integrations.php
index 104ebc16..6f90e0ab 100644
--- a/app/Template/config/integrations.php
+++ b/app/Template/config/integrations.php
@@ -6,6 +6,22 @@
<?= $this->formCsrf() ?>
+ <h3><img src="assets/img/hipchat-icon.png"/> <?= t('Hipchat') ?></h3>
+ <div class="listing">
+ <?= $this->formCheckbox('integration_hipchat', t('Send notifications to Hipchat'), 1, $values['integration_hipchat'] == 1) ?>
+
+ <?= $this->formLabel(t('API URL'), 'integration_hipchat_api_url') ?>
+ <?= $this->formText('integration_hipchat_api_url', $values, $errors) ?>
+
+ <?= $this->formLabel(t('Room API ID or name'), 'integration_hipchat_room_id') ?>
+ <?= $this->formText('integration_hipchat_room_id', $values, $errors) ?>
+
+ <?= $this->formLabel(t('Room notification token'), 'integration_hipchat_room_token') ?>
+ <?= $this->formText('integration_hipchat_room_token', $values, $errors) ?>
+
+ <p class="form-help"><a href="http://kanboard.net/documentation/hipchat" target="_blank"><?= t('Help on Hipchat integration') ?></a></p>
+ </div>
+
<h3><i class="fa fa-slack fa-fw"></i>&nbsp;<?= t('Slack') ?></h3>
<div class="listing">
<?= $this->formCheckbox('integration_slack_webhook', t('Send notifications to a Slack channel'), 1, $values['integration_slack_webhook'] == 1) ?>