Select Git revision
FeedbackEntry.php
Forked from
Stud.IP / Stud.IP
Source project has a limited visibility.
-
Ron Lucke authored
Merge request studip/studip!2296
Ron Lucke authoredMerge request studip/studip!2296
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
index.php 1.40 KiB
<?php
/**
* @var array<int, array> $issues
*/
?>
<table class="default">
<thead>
<tr>
<th><?= _('Issue') ?></th>
<th><?= _('Autor') ?></th>
<th><?= _('Bearbeiter') ?></th>
<th><?= _('Version') ?></th>
<!-- <th></th>-->
</tr>
</thead>
<tbody>
<? if (!$issues): ?>
<tr>
<td colspan="4" style="text-align: center">
<?= _('Keine portierbaren Bugfixes vorhanden 🥳🍺') ?>
</td>
</tr>
<? endif; ?>
<? foreach ($issues as $issue): ?>
<tr>
<td>
<a href="<?= htmlReady($issue['web_url']) ?>" target="_blank">
#<?= htmlReady($issue['iid']) ?>:
<?= htmlReady($issue['title']) ?>
</td>
<td><?= htmlReady($issue['author']['username']) ?></td>
<td><?= htmlReady(implode(',', array_column($issue['assignees'], 'username'))) ?></td>
<td><?= htmlReady($issue['studip_version']) ?></td>
<!-- <td>-->
<!-- --><?// if ($issue['mr']): ?>
<!-- <a href="--><?//= $controller->diff($issue['mr']) ?><!--" target="_blank">-->
<!-- --><?//= Icon::create('file-generic') ?>
<!-- </a>-->
<!-- --><?// endif; ?>
<!-- </td>-->
</tr>
<? endforeach; ?>
</tbody>
</table>