mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 23:42:11 +00:00
show icons for users and groups, show login and fullname for users
This commit is contained in:
parent
1cb6a6f9c1
commit
de8cc01850
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user