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

@@ -14,6 +14,7 @@
</div>
<ul class="panel">
<li><?= t('Role:') ?> <strong><?= $this->user->getRoleName($user['role']) ?></strong></li>
<li><?= t('Group membership(s):') ?> <strong><?= $this->user->getGroupNames($user['id']) ?></strong></li>
<li><?= t('Account type:') ?> <strong><?= $user['is_ldap_user'] ? t('Remote') : t('Local') ?></strong></li>
<li><?= $user['twofactor_activated'] == 1 ? t('Two factor authentication enabled') : t('Two factor authentication disabled') ?></li>
<li><?= t('Number of failed login:') ?> <strong><?= $user['nb_failed_login'] ?></strong></li>