<table id="tbl-TalentoHumano-ControlAppAsistencia" class="table table-bordered table-hover table-responsive">
    <thead>
        <tr>
            <th width="1%" ><input type="checkbox" class="check-TalentoHumano-ControlAppAsistencia" id="chk-TodosTalentoHumano-ControlAppAsistencia" ></th>
            <th width="1%" >Categoria</th>
            <th width="1%" >Código</th>
            <th width="1%" >Titulo</th>
            <th width="1%" >Descripción</th>
            <th width="1%" title="Imagen URL" class="titulo-flotante">Imagen</th>
            <th width="1%" title="PDF URL" class="titulo-flotante">PDF</th>
            <th width="1%" title="Enlace Asociado" class="titulo-flotante" ><i class="fa fa-link" ></i></th>
            <th width="1%" title="Estado" class="titulo-flotante" ></th>
        </tr>
    </thead>
    <tbody> 
        {% if AsistenciasLaborales %}
        {% for AsistenciaLaboral in AsistenciasLaborales %}
        <tr>
            <td>
                <input type="checkbox" class="checkTable check-TalentoHumano-ControlAppAsistencia" name="check-AsistenciasLaborales[]" 
                       value="{{ AsistenciaLaboral.asistenciaLaboralID }}" data-titulo="{{ AsistenciaLaboral.asistenciaLaboralTITULO }}" />
            </td>
            <td>{{ AsistenciaLaboral.categoriaTITULO }}</td>
            <td>{{ AsistenciaLaboral.asistenciaLaboralCODIGO }}</td>
            <td>{{ AsistenciaLaboral.asistenciaLaboralTITULO }}</td>
            <td class="titulo-flotante" title="{{ AsistenciaLaboral.asistenciaLaboralDESCRIPCION|striptags }}" >
                {{ AsistenciaLaboral.asistenciaLaboralDESCRIPCION|striptags[0:21] }}...
            </td>
            <td>
                {{ imagenTooltip( "IMG-" ~ AsistenciaLaboral.asistenciaLaboralID, AsistenciaLaboral.asistenciaLaboralURLIMAGEN) }}
            </td>
            <td >
                {{ pdfTooltip( "pdf-" ~ AsistenciaLaboral.asistenciaLaboralID, AsistenciaLaboral.asistenciaLaboralURLPDF ) }}
            </td>
            <td>{{ enlace( AsistenciaLaboral.asistenciaLaboralENLACE ) }}</td>
            <td>{{ labelEstado(AsistenciaLaboral.asistenciaLaboralESTADO) }}</td>
        </tr>
        {% endfor %}
        {% endif %}
    </tbody>
</table>
<script type="text/javascript" >
    $(document).ready(function () {
        checkBoxSICAM('.check-TalentoHumano-ControlAppAsistencia');
        activarSeleccionarTodos("chk-TodosTalentoHumano-ControlAppAsistencia", "check-TalentoHumano-ControlAppAsistencia");
    });
    crearTablaScroll("tbl-TalentoHumano-AsistenciasLaborales", "320");
</script>    

