aboutsummaryrefslogtreecommitdiff
path: root/app/views/course/statusgroups
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2024-05-06 11:44:58 +0000
committerDavid Siegfried <david.siegfried@uni-vechta.de>2024-05-06 11:44:58 +0000
commite278ef0a79fbd9ef33b9fa5af1ac7e3e6145c8eb (patch)
tree7f41103b8bccb7dd81f759c4cad4a6de2e9d0235 /app/views/course/statusgroups
parent4d98ebd6c7f57d8cc10599c74f2c8c061e907d09 (diff)
fixes #3672
Closes #3672 Merge request studip/studip!2649
Diffstat (limited to 'app/views/course/statusgroups')
-rw-r--r--app/views/course/statusgroups/details.php30
1 files changed, 30 insertions, 0 deletions
diff --git a/app/views/course/statusgroups/details.php b/app/views/course/statusgroups/details.php
new file mode 100644
index 0000000..db80777
--- /dev/null
+++ b/app/views/course/statusgroups/details.php
@@ -0,0 +1,30 @@
+<?php
+/**
+ * @var Statusgruppen $group
+ */
+?>
+<table class="default">
+ <caption class="hide-in-dialog">
+ <?= sprintf(_('Gruppe %s'), htmlReady($group->name)) ?>
+ </caption>
+ <colgroup>
+ <col style="width: 32px">
+ <col>
+ </colgroup>
+ <tbody>
+ <? foreach ($group->members as $member): ?>
+ <tr>
+ <td>
+ <a href="<?= URLHelper::getLink('dispatch.php/profile', ['username' => $member->user->username], true) ?>">
+ <?= $member->avatar() ?>
+ </a>
+ </td>
+ <td>
+ <a href="<?= URLHelper::getLink('dispatch.php/profile', ['username' => $member->user->username], true) ?>">
+ <?= htmlReady($member->user->getFullname()) ?>
+ </a>
+ </td>
+ </tr>
+ <? endforeach; ?>
+ </tbody>
+</table>