aboutsummaryrefslogtreecommitdiff
path: root/app/views/api/authorizations
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/api/authorizations')
-rw-r--r--app/views/api/authorizations/index.php44
1 files changed, 0 insertions, 44 deletions
diff --git a/app/views/api/authorizations/index.php b/app/views/api/authorizations/index.php
deleted file mode 100644
index 95645f4..0000000
--- a/app/views/api/authorizations/index.php
+++ /dev/null
@@ -1,44 +0,0 @@
-<? use Studip\Button, Studip\LinkButton; ?>
-
-<? if (empty($consumers)): ?>
-<?= MessageBox::info(_('Sie haben noch keinen Apps Zugriff auf Ihren Account gewährt.')) ?>
-<? else: ?>
-<table class="oauth-apps default">
- <caption><?= _('Applikationen') ?></caption>
- <thead>
- <tr>
- <th><?= _('Name') ?></th>
- <th>&nbsp;</th>
- </thead>
- <tbody>
- <? foreach ($consumers as $consumer): ?>
- <tr>
- <td>
- <h3>
- <? if ($consumer->url): ?>
- <a href="<?= htmlReady($consumer->url) ?>" target="_blank" rel="noopener noreferrer">
- <?= htmlReady($consumer->title) ?>
- </a>
- <? else: ?>
- <?= htmlReady($consumer->title) ?>
- <? endif; ?>
- <? if (isset($types[$consumer->type])): ?>
- <small>(<?= htmlReady($types[$consumer->type]) ?>)</small>
- <? endif; ?>
- </h3>
- <? if ($consumer->description): ?>
- <p><?= htmlReady($consumer->description) ?></p>
- <? endif; ?>
- </td>
- <td class="actions">
- <?= LinkButton::createCancel(
- _('App entfernen'),
- $controller->url_for('api/authorizations/revoke', $consumer->id),
- ['data-confirm' => _('Wollen Sie der App wirklich den Zugriff auf Ihre Daten untersagen?')]
- ) ?>
- </td>
- </tr>
-<? endforeach; ?>
- </tbody>
-</table>
-<? endif; ?>