Changeset 7384 for trunk/workflow/js/userinterface/orgchart.js
- Timestamp:
- 10/09/12 16:13:24 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/workflow/js/userinterface/orgchart.js
r3212 r7384 341 341 /* list the employees */ 342 342 var complement = ''; 343 var employeeNotFound = false; 343 344 for (var i = 0; i < employees.length; i++) 344 345 { … … 348 349 complement = ''; 349 350 if (employees[i]['removed']) 350 complement += ' <font color="red">(inativo)</font>'; 351 { 352 complement += ' (*)'; 353 employeeNotFound = true; 354 } 351 355 content += '<tr class="linha'+ i%2 + (useCategories ? ' categoria_' + employees[i]['funcionario_categoria_id'] : '') + '" onmouseover="this.className=\'highlight0\'" onmouseout="this.className=\'linha'+ i%2 + (useCategories ? ' categoria_' + employees[i]['funcionario_categoria_id'] : '') + '\'">'; 352 356 content += '<td><a href="javascript:void(0);" onmouseover="getEmployeeInfoTimer(event, ' + employees[i]['funcionario_id'] + '); return false;" onmouseout="hideEmployeeInfo(); return false;">' + employees[i]['cn'] + complement + '</a></td>'; … … 364 368 } 365 369 content += '</table>'; 370 371 /* display a indication that some employees where not found */ 372 if (employeeNotFound) 373 { 374 content += '<hr><p>(*) = Usuários não localizados no catálogo do Expresso.</p>'; 375 } 366 376 367 377 if ( arguments[ 1 ] != 'returnResult' )
Note: See TracChangeset
for help on using the changeset viewer.