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

This commit is contained in:
Uwe Steinmann 2018-11-16 11:40:58 +01:00
parent 1cb6a6f9c1
commit de8cc01850

View File

@ -154,7 +154,7 @@ cy.on('tap', 'node', function(evt) {
var scratch = node.scratch('app');
if(typeof scratch !== 'undefined') {
noty({
text: (scratch.users ? '<p><?php printMLText('users'); ?>: ' + scratch.users + '</p>' : '') + (scratch.groups ? '<?php printMLText('groups'); ?>: ' + scratch.groups + '</p>' : ''),
text: (scratch.users ? '<p><?= '<i class="icon-user"></i> ' ?> ' + scratch.users + '</p>' : '') + (scratch.groups ? '<?= '<i class="icon-group"></i> ' ?> ' + scratch.groups + '</p>' : ''),
type: 'information',
dismissQueue: true,
layout: 'topCenter',
@ -217,7 +217,7 @@ $(document).ready(function() {
$transusers = $transition->getUsers();
$unames = array();
foreach($transusers as $transuser) {
$unames[] = $transuser->getUser()->getFullName();
$unames[] = $transuser->getUser()->getLogin().' - '.$transuser->getUser()->getFullName();
}
$transgroups = $transition->getGroups();
$gnames = array();