Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 4241 | Rev 6239 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 4241 Rev 6237
Línea 422... Línea 422...
422
        },
422
        },
423
        'aoColumns': [
423
        'aoColumns': [
424
            { 'mDataProp': 'first_name' },
424
            { 'mDataProp': 'first_name' },
425
            { 'mDataProp': 'last_name' },
425
            { 'mDataProp': 'last_name' },
426
            { 'mDataProp': 'email' },
426
            { 'mDataProp': 'email' },
-
 
427
            { 'mDataProp': 'file' },
427
            { 'mDataProp': 'actions' },
428
            { 'mDataProp': 'actions' },
428
        ],
429
        ],
429
        'columnDefs': [
430
        'columnDefs': [
430
            {
431
            {
-
 
432
                    'targets': -2,
-
 
433
                    'orderable': false,
-
 
434
                    'render' : function ( data, type, row ) {
-
 
435
                        s = ' ';
-
 
436
 
-
 
437
                        if( data )  {
-
 
438
                            s = s + '&nbsp;<img class="btn-view-image-app" data-href="' + data + '" data-toggle="tooltip" src="'+data+'" title="LABEL_VIEW" style="width: 40px; object-fit: cover; height: 40px;" /> '
-
 
439
                        }  else {
-
 
440
                            s = s + '&nbsp;LABEL_IMAGE: <br>';    
-
 
441
                        } 
-
 
442
 
-
 
443
 
-
 
444
                        return s;
-
 
445
                    }
-
 
446
            },
-
 
447
            {
431
                'targets': -1,
448
                'targets': -1,
432
                'orderable': false,
449
                'orderable': false,
433
                'render': function (data, type, row) {
450
                'render': function (data, type, row) {
434
                    s = '';
451
                    s = '';
Línea 552... Línea 569...
552
                            <thead>
569
                            <thead>
553
                            <tr>
570
                            <tr>
554
                                <th>LABEL_FIRST_NAME</th>
571
                                <th>LABEL_FIRST_NAME</th>
555
                                <th>LABEL_LAST_NAME</th>
572
                                <th>LABEL_LAST_NAME</th>
556
                                <th>LABEL_EMAIL</th>
573
                                <th>LABEL_EMAIL</th>
-
 
574
                                <th>LABEL_DETAILS</th>
557
                                <th>LABEL_ACTIONS</th>
575
                                <th>LABEL_ACTIONS</th>
558
                            </tr>
576
                            </tr>
559
                            </thead>
577
                            </thead>
560
                            <tbody>
578
                            <tbody>
561
                            </tbody>
579
                            </tbody>