summaryrefslogtreecommitdiff
path: root/app/Template/project
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-01-06 21:46:31 -0500
committerFrederic Guillot <fred@kanboard.net>2016-01-06 21:46:31 -0500
commit00e5a4c5b40610ec849567d30f88e3ab8d0720fb (patch)
tree49138feec30136c9ff432b7d61659e976a27211d /app/Template/project
parenta03e4d4dcb4ebce06671465c9a7bd7e51ba2ef79 (diff)
Move Github Webhook to external plugin
See: https://github.com/kanboard/plugin-github-webhook
Diffstat (limited to 'app/Template/project')
-rw-r--r--app/Template/project/integrations.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/app/Template/project/integrations.php b/app/Template/project/integrations.php
index c4d9385b..6a149dbe 100644
--- a/app/Template/project/integrations.php
+++ b/app/Template/project/integrations.php
@@ -5,13 +5,7 @@
<form method="post" action="<?= $this->url->href('project', 'integrations', array('project_id' => $project['id'])) ?>" autocomplete="off">
<?= $this->form->csrf() ?>
- <?= $this->hook->render('template:project:integrations', array('values' => $values)) ?>
-
- <h3><i class="fa fa-github fa-fw"></i>&nbsp;<?= t('Github webhooks') ?></h3>
- <div class="listing">
- <input type="text" class="auto-select" readonly="readonly" value="<?= $this->url->href('webhook', 'github', array('token' => $webhook_token, 'project_id' => $project['id']), false, '', true) ?>"/><br/>
- <p class="form-help"><?= $this->url->doc(t('Help on Github webhooks'), 'github-webhooks') ?></p>
- </div>
+ <?= $this->hook->render('template:project:integrations', array('project' => $project, 'values' => $values, 'webhook_token' => $webhook_token)) ?>
<h3><img src="<?= $this->url->dir() ?>assets/img/gitlab-icon.png"/>&nbsp;<?= t('Gitlab webhooks') ?></h3>
<div class="listing">