summaryrefslogtreecommitdiff
path: root/app/Template/user_view/integrations.php
blob: 4a23734663dbb92f2d5ac69d26c9357708d3b2ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<div class="page-header">
    <h2><?= t('Integrations') ?></h2>
</div>

<form method="post" action="<?= $this->url->href('UserViewController', 'integrations', array('user_id' => $user['id'])) ?>" autocomplete="off">
    <?= $this->form->csrf() ?>
    <?php $hooks = $this->hook->render('template:user:integrations', array('values' => $values)) ?>
    <?php if (! empty($hooks)): ?>
        <?= $hooks ?>
    <?php else: ?>
        <p class="alert"><?= t('No external integration registered.') ?></p>
    <?php endif ?>
</form>