Show group membership(s) in user-summary and user-list

This commit is contained in:
Manfred Hoffmann
2020-04-03 06:16:13 +02:00
committed by GitHub
parent 22939a21b4
commit 1cc0ac0713
37 changed files with 51 additions and 0 deletions

View File

@@ -10,4 +10,8 @@
<?php if (! empty($user['email'])): ?>
<span><a href="mailto:<?= $this->text->e($user['email']) ?>"><?= $this->text->e($user['email']) ?></a></span>
<?php endif ?>
<?php if (! empty($this->user->getGroupNames($user['id'])) ): ?>
<span><i class="fa fa-fw fa-group aria-hidden="true"></i> <?= $this->user->getGroupNames($user['id']) ?></span>
<?php endif ?>
</div>