aboutsummaryrefslogtreecommitdiff
path: root/app/views/course/statusgroups/details.php
diff options
context:
space:
mode:
authorPhilipp Schüttlöffel <schuettloeffel@zqs.uni-hannover.de>2024-09-24 10:53:31 +0200
committerPhilipp Schüttlöffel <schuettloeffel@zqs.uni-hannover.de>2024-09-24 10:53:31 +0200
commit4459dd7917f4d1c34f40bb68f0e991e9c3d53e4c (patch)
tree5c07151ae61276d334e88f6309c30d439a85c12e /app/views/course/statusgroups/details.php
parentda0022e5c1abbf9825ae76debaabdff7e8623bb4 (diff)
parent97a188592c679890a25c37ab78463add76a52ff7 (diff)
Merge branch 'main' into issue-3911issue-3911
Diffstat (limited to 'app/views/course/statusgroups/details.php')
-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>