Changeset 5242


Ignore:
Timestamp:
12/12/11 10:36:54 (12 years ago)
Author:
viani
Message:

Ticket #2374 - Incluído atributo uid na listagem do organograma

Location:
trunk/workflow
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/workflow/inc/class.so_userinterface.inc.php

    r3167 r5242  
    264264                                $employees[$i]['telephoneNumber'] = is_null($entry['telephonenumber']) ? '' : $entry['telephonenumber']; 
    265265                                $employees[$i]['cn'] = is_null($entry['cn']) ? '' : $entry['cn']; 
     266                                $employees[$i]['uid'] = is_null($entry['uid']) ? '' : $entry['uid']; 
     267                                $employees[$i]['uidnumber'] = is_null($entry['uidnumber']) ? '' : $entry['uidnumber']; 
    266268                                $employees[$i]['removed'] = is_null($entry['last_update']); 
    267269                        } 
  • trunk/workflow/js/userinterface/orgchartPrint.js

    r3167 r5242  
    7676                                                                        .append(areas[area_id].employees[user_id].cn) 
    7777                                                        ) 
    78                                                         .css('width', '70%') 
     78                                                        .css('width', '60%') 
    7979                                                ); 
    8080 
     
    8585                                                        .css('width', '15%') 
    8686                                        ); 
     87 
     88        /* login: show uid attribute */ 
     89        element.append( 
     90                                        $('<td>' + areas[area_id].employees[user_id].uid + '</td>') 
     91                                                .css('width', '10%') 
     92                                        ) 
    8793 
    8894        /* telephone: last column */ 
Note: See TracChangeset for help on using the changeset viewer.