mirror of
https://github.com/YunoHost-Apps/kanboard_ynh.git
synced 2024-09-03 19:36:17 +02:00
27 lines
No EOL
1.6 KiB
PHP
27 lines
No EOL
1.6 KiB
PHP
<div class="page-header">
|
|
<h2><?= t('Integration with third-party services') ?></h2>
|
|
</div>
|
|
|
|
<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> <?= 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>
|
|
|
|
<h3><img src="<?= $this->url->dir() ?>assets/img/gitlab-icon.png"/> <?= t('Gitlab webhooks') ?></h3>
|
|
<div class="listing">
|
|
<input type="text" class="auto-select" readonly="readonly" value="<?= $this->url->href('webhook', 'gitlab', array('token' => $webhook_token, 'project_id' => $project['id']), false, '', true) ?>"/><br/>
|
|
<p class="form-help"><?= $this->url->doc(t('Help on Gitlab webhooks'), 'gitlab-webhooks') ?></p>
|
|
</div>
|
|
|
|
<h3><i class="fa fa-bitbucket fa-fw"></i> <?= t('Bitbucket webhooks') ?></h3>
|
|
<div class="listing">
|
|
<input type="text" class="auto-select" readonly="readonly" value="<?= $this->url->href('webhook', 'bitbucket', array('token' => $webhook_token, 'project_id' => $project['id']), false, '', true) ?>"/><br/>
|
|
<p class="form-help"><?= $this->url->doc(t('Help on Bitbucket webhooks'), 'bitbucket-webhooks') ?></p>
|
|
</div>
|
|
</form>
|