show icon for users and groups, show login and fullname for users

This commit is contained in:
Uwe Steinmann 2018-11-16 11:38:06 +01:00
parent 488b274048
commit bf72386b19

View File

@ -214,12 +214,12 @@ $(document).ready(function() {
echo "<td>";
foreach($transusers as $transuser) {
$u = $transuser->getUser();
echo getMLText('user').": ".$u->getFullName();
echo '<i class="icon-user"></i> '.htmlspecialchars($u->getLogin()." - ".$u->getFullName());
echo "<br />";
}
foreach($transgroups as $transgroup) {
$g = $transgroup->getGroup();
echo getMLText('at_least_n_users_of_group',
echo '<i class="icon-group"></i> '.getMLText('at_least_n_users_of_group',
array("number_of_users" => $transgroup->getNumOfUsers(),
"group" => $g->getName()));
echo "<br />";